Posted on 2012-05-07 16:57
Milo的海域 阅读(271)
评论(0) 编辑 收藏 所属分类:
Linux 、
Skills
1. Tutorial
http://net-snmp.sourceforge.net/wiki/index.php/Tutorials2. Config & start agent
snmpconf
3. snmpwalk example
snmpwalk -v2c -c public 10.1.74.51
4. check MIB modules
snmptranslate -Dinit_mib .1.3 2>&1 |grep MIBDIR
5. extending MIB Module
http://net-snmp.sourceforge.net/wiki/index.php/TUT:Writing_a_MIB_Module
a. download net-snmp src code
b. MIB definition
c. mib2c (in net-snmp-perl)
d. make & make install
e. edit snmpd conf & restart agent
f. snmpwalk to verify