close
如何設定Linux SNMP才可以由snmp撈到CPU, I/O performance......等資訊呢?
我們使用環境: CentOS 5.5
# yum install -y net-snmp net-snmp-libs net-snmp-utils
# vim /etc/snmp/snmpd.conf
----------------------------------------------------------------
view systemview included .1 <---多加這一行
view systemview included .1.3.6.1.2.1.1
view systemview included .1.3.6.1.2.1.25.1.1
----------------------------------------------------------------
# chkconfig snmpd on
# service snmpd restart
測試:
# snmpwalk -v 2c -c public 127.0.0.1
全站熱搜
留言列表