Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Linux ¼à¿Ø/SNMPÅäÖÃ

http://www.zhetao.com/content.dep?m=news&id=1235137892661247
 ·¢²¼ÈÕÆÚ 2009-2-20 21:51:32
Linux
ϵͳµÄ
SNMP
·þÎñÉèÖÃ
1)
°²×°
SNMP
ÂÔ£¬Çë²ÎÔÄ
LINUX
ϵͳ
SNMP
°²×°ËµÃ÷£¬Ò»°ãÇé¿öÏÂ
Linux
ÖеľùÒѾ­×Ô¶¯°²×°ÁË
SNMP
·þÎñ¡£ÒÔÏÂÃüÁî¿ÉÒÔ¼ì²â
SNMP
·þÎñÊÇ·ñ°²×°ÒÔ¼°°²×°µÄÎļþ°ü¡£
[root@idc ~]# rpm -qa |grep snmp
net-snmp-libs-5.1.2-11.EL4.7
net-snmp-5.1.2-11.EL4.7
 
2)
ÅäÖÃ
SNMP
°´ÕÕÈçÏ·½Ê½ÐÞ¸Ä
/etc/snmp/snmpd.conf
Îļþ
A
¡¢ÐÞ¸ÄĬÈϵÄ
community string
£¨
SUM
ÖÐ
SNMP
¶ÁÖµÃÜÂ룩
com2sec notConfigUser
default

public
½«
public
ÐÞ¸ÄΪÄã²ÅÖªµÀµÄ×Ö·û´®
½«

default

¸ÄΪÄãÏëÄĄ̈»úÆ÷¿ÉÒÔ¿´µ½ÄãµÄ
snmp
ÐÅÏ¢
,
±ÈÈç
SUM
ËùÔÚ
IP
Ϊ£º
10.10.10
.10
£¬¾Í¸Ä³ÉÕâ¸ö
IP
¡£²»¸Ä±íʾËùÓлúÆ÷³äÐí¡£
B
¡¢°ÑÏÂÃæµÄ
#
ºÅÈ¥µô
#view mib2 included .iso.org.dod.internet.mgmt.mib-2 fc
ÆôÓÃÈ«²¿¹¦ÄÜ¿ÉÒÔʹÓÃÈçÏÂÒ»ÐУ¨Èç¹ûûÓпÉÒÔ¼ÓÈëÒ»ÐУ©£º
view all included .1          
80
C
¡¢°ÑÏÂÃæµÄÓï¾ä
access notConfigGroup "" any noauth exact systemview none none
¸Ä³É£º
access notConfigGroup "" any noauth exact
mib2
none none
»òÊÇ£º
access notConfigGroup "" any noauth exact
all
none none
3)
Æô¶¯ÓëÍ£Ö¹
SNMP
Ò»°ãʹÓãºservice snmpd start
|stop
|restart
ÃüÁî¡£»òÊÇ£º
#/etc/rc.d/init.d/snmpd restart
4)
·À»ðǽ
Èç¹û
Linux
Æô¶¯ÁË·À»ðǽ£¬Ç뿪·Å
UDP
µÄ
161
¶Ë¿Ú¡£È·±£
Linux
µÄ
iptables
·À»ðǽ¶Ô
SUM
¼à¿Ø·þÎñÆ÷¿ª·ÅÁË
udp 161
¶Ë¿ÚµÄ·ÃÎÊȨÏÞ
¿ÉʹÓÃ
iptables ?L ?n
²é¿´µ±Ç°
iptables
¹æÔò
¿É±à¼­
/etc/sysconfig/iptables
ÎļþÀ´ÐÞ¸Ä
iptables
¹æÔò¡£
 
 


Ïà¹ØÎĵµ£º

LinuxÉ豸ģÐÍÖ®input×ÓϵͳÏê½â

Ò»£ºÇ°ÑÔ
×î½üÔÚÑо¿androidµÄsensor driver£¬Ö÷ÒªÊÇE-compass£¬ÆäÖÐÓõ½ÁËLinux input×Óϵͳ.ÔÚÍøÉÏÒ²¿´Á˺ܶàÕâ·½ÃæµÄ×ÊÁÏ£¬¸Ð¾õ»¹ÊÇÕâƪ·ÖÎöµÄ±È½ÏϸÖÂ͸³¹£¬Òò´ËתÔØÒ»ÏÂÒÔ±ã×Ô¼ºÑ§Ï°£¬Í¬Ê±ºÍ´ó¼Ò·ÖÏí£¡
£¨Õâƪ²©¿ÍÖ÷ÒªÊÇÒÔ¼üÅÌÇý¶¯ÎªÀýµÄ£¬²»¹ý½²½âµÄÊÇLinux Input Subsystem£¬¿ÉÒÔ×ÐϸµÄÑо¿Ò»Ï£¡£©
¼üÅÌÇý¶¯½«¼ì ......

linuxÉ豸Çý¶¯¿ª·¢Ïê½â——globalmem

³£¼ûµÄÁ½ÖÖ´íÎó£º
1.ÔÚ²åÈëÄ£¿éµÄʱºò³öÏÖÈçÏÂÎÊÌ⣺
# insmod globalmem.ko insmod: error inserting 'globalmem.ko': -1 Device or resource busy
ANSWER:Ö÷É豸ºÅ±»Õ¼ÓÃÁË£¬»»ÁíÒ»¸ö¡£ Äã°Ñglobalmem.cÎļþÀïÃæµÄºê¶¨ÒåÄÇÀï¸ÄΪ226»òÆäËû£¬È»ºóÔÙ±àÒë¾Í¿ÉÒÔ²åÈëÁË£¡
Ìرð×¢Ò⣺      ......

LinuxÈ«¹¥ÂÔ


LinuxÈ«¹¥ÂÔ--yum·þÎñÆ÷ÅäÖÃ
Yum£¨È«³ÆΪ Yellow dog Updater, Modified£©ÊÇÒ»¸öÔÚFedoraÖеÄshellÇ°¶ËÈí¼þ°ü¹ÜÀíÆ÷¡£»ùÓÚrpm°ü¹ÜÀí£¬Äܹ»´ÓÖ¸¶¨µÄ·þÎñÆ÷×Ô¶¯ÏÂÔØRPM°ü²¢ÇÒ°²×°£¬¿ÉÒÔ×Ô¶¯´¦Àí ÒÀÀµÐÔ¹Øϵ£¬²¢ÇÒÒ»´Î°²×°ËùÓÐÒÀÀµµÄÈíÌå°ü£¬ÎÞÐë·±ËöµØÒ»´Î´ÎÏÂÔØ¡¢°²×°¡£
¡¡¡¡ÈíÌå°üÀ´Ô´
¿É¹©YumÏÂÔصÄÈíÌå°ü°üÀ¨fedora ......

LinuxÖеŤ×÷¶ÓÁÐ(work queue)

¹¤×÷¶ÓÁÐ(work queue)ÊÇLinux kernelÖн«¹¤×÷ÍƺóÖ´ÐеÄÒ»ÖÖ»úÖÆ¡£ÕâÖÖ»úÖƺÍBH(bottom half)»òTasklets²»Í¬Ö®´¦ÔÚÓÚ¹¤×÷¶ÓÁÐÊÇ°ÑÍƺóµÄ¹¤×÷½»ÓÉÒ»¸öÄÚºËÏß³ÌÈ¥Ö´ÐУ¬Òò´Ë¹¤×÷¶ÓÁеÄÓÅÊƾÍÔÚÓÚËüÔÊÐíÖØе÷¶ÈÉõÖÁ˯Ãß¡£
linux 2.6.20ÒԺ󣬹¤×÷¶ÓÁлúÖƺÍ֮ǰµÄ°æ±¾ÓÐÒ»µã²»Í¬£¬ÔÚÍøÉÏÕÒÁËÒ»µã×ÊÁÏ£¬Ò²ÏàÓ¦µÄ¿´ÁËһЩcode£ ......

ÔÚlinuxÉÏsilent°²×°oracle¼òÖ±ÊÇÒ»³¡Ø¬ÃÎ

 Parsing command line arguments:
    Parameter "silent" = true
java.lang.ArrayIndexOutOfBoundsException: 2
        at oracle.net.ca.CmdlineArgs.parseArgs(Unknown Source)
        at oracle.net.ca.I ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ