°²×° Net-SNMP
CentOS¼°ÆäËüRedHatϵÁвúÆ·ÌṩÁËnet-snmpµÄ¶þ½øÖÆ°ü¡£ÎÒÃÇ¿ÉÒÔÖ±½Ó´ÓÔ´Àï°²×°¡£
shell> yum install net-snmp net-snmp-devel net-snmp-utils
˵Ã÷£ºnet-snmp-develÊÇΪÁËʹÓÃnet-snmp-config, net-snmp-utilsÊÇΪÁËʹÓÃsnmpwalk¡£
ÅäÖÃ Net-SNMP
ÔÚ±ÊÕßµÄÊÔÑé»·¾³Ï£¬CentOSϵÄnet-snmpÎÞ·¨ÔÚselinux»·¾³ÏÂÕý³£Ê¹ÓÃv3¡£ Èç¹ûÄúÏëʹÓÃsnmp v3£¬ÇëÏȽûÓÃselinux¡£
shell> net-snmp-config --create-snmpv3-user -ro -A snmp@abc-a MD5 abc
ÒÔÉÏÃüÁ´´½¨Ò»¸ösnmpv3Óû§£¬Ö»¶Á£¬Ê¹ÓÃMD5£¬Óû§ÃûΪabc£¬ÃÜÂëΪsnmp@abc¡£
×¢Ò⣺ÔËÐÐ֮ǰÇëÏÈÍ£ÓÃnet-snmp·þÎñ¡£
shell> service snmpd stop
ÔËÐÐ Net-SNMP
ÔËÐÐ Net-SNMP ·þÎñµÄ·½·¨±È½Ï¼òµ¥£¬²»¹ýNet-SNMP·þÎñµÄÃû×ÖÊÇsnmpd¡£
shell> service snmpd start
Äú¿ÉÄÜÐèÒª°ÑËü¼ÓÈ뿪»ú×Ô¶¯ÔËÐзþÎñÁÐ±í¡£
shell> chkconfig snmpd on
¼ì²â Net-SNMP
ÎÒÃÇ¿ÉÒÔʹÓà snmpwalk À´¼ì²âsnmp·þÎñÊÇ·ñÕý³£¿ªÆô¡£
shell> snmpwalk -v 3 -u abc-a MD5 -A "snmp@abc" -l authNoPriv 127.0.0.1 sysDescr
Èç¹ûÒ»ÇÐÕý³££¬¾Í»á·µ»ØÕý³£½á¹û¡£ ÓйØsnmpwalkµÄ²ÎÊý˵Ã÷£¬Çë²Î¼ûÆämanÎĵµ¡£
ÍƼöÐÅÏ¢
- linuxÃüÁîѧϰ±Ê¼Ç£¨11£©£ºnlÃüÁî
- linuxÃüÁîѧϰ±Ê¼Ç£¨5£©£ºrmÃüÁî
- linuxÃüÁîѧϰ±Ê¼Ç£¨4£©£ºmkdirÃüÁî
- linuxÃüÁîѧϰ±Ê¼Ç£¨1£©£ºlsÃüÁî
- ½«CentosµÄyumÔ´¸ü»»Îª¹úÄڵİ¢ÀïÔÆÔ´
- ʹÓÃNginxÌí¼Óheader·ÀÖ¹ÍøÒ³±»frame
- linuxϼÓËÙscp´«Êä´óÎļþµÄËÙ¶È
- linuxϵͳÉ϶ÔnginxÈÕÖ¾·Ö¸î´¦Àí
- lnmp/nginxϵͳÕæÕýÓÐЧµÄͼƬ·ÀµÁÁ´ÍêÕûÉèÖÃÏê½â
- Í»ÆÆÊ®Íò²¢·¢µÄNginxµÄÅäÖü°ÓÅ»¯
ÈÈÃÅÐÅÏ¢
- nohup: redirecting stderr to stdou....
- ʹÓÃlog_formatΪNginx·þÎñÆ÷ÉèÖøüÏêϸµÄÈÕÖ¾¸ñʽ
- jquery easyUI--dataGrid-Json
- [Ô´´]·ÂGoogle Reader¡¢ÐÂÀË΢²©¡¢ÌÚѶ΢²©µ....
- ÀûÓÃKeepalived+mysql¹¹½¨¸ß¿ÉÓÃMySQLË«Ö÷×Ô¶....
- Nginx+keepalivedʵÏÖ¸ºÔؾùºâºÍË«»úÈȱ¸¸ß¿ÉÓÃ
- jqueryʵÏÖÒ³Ãæ¼ÓÔؽø¶ÈÌõ
- Rolling cURL: PHP²¢·¢×î¼Ñʵ¼ù
- codeigniter ·ÓÉÖÕ¼«ÓÅ»¯(url rewrite)
- linuxÏÂÉèÖÃsshÎÞÃÜÂëµÇ¼
×î½ü¸üÐÂ
- ²éÕÒ²¢É¾³ý.svnĿ¼Îļþ
- redis ÆßÖÖÊý¾ÝÀàÐ͵ÄʹÓó¡¾°
- linux ÏÂÎļþ¸´ÖƵ½windowsÏÂÂÒÂëµÄ½â¾ö°ì·¨
- nginx³öÏÖ502 upstream sent too big he....
- linuxÏÂsudoÅäÖÃÏê½â
- linuxÃüÁîѧϰ±Ê¼Ç£¨15£©£ºtailÃüÁî
- linuxÃüÁîѧϰ±Ê¼Ç£¨14£©£ºheadÃüÁî
- linuxÃüÁîѧϰ±Ê¼Ç£¨13£©£ºlessÃüÁî
- linuxÃüÁîѧϰ±Ê¼Ç£¨12£©£ºmoreÃüÁî
- ¼ÓÃÜËã·¨±È½Ï3DES AES RSA ECC MD5 SHA1µÈ
ÆÀÂÛ