posts - 88, comments - 3, trackbacks - 0, articles - 0
  BlogJava :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理

Notes for SNMP

Posted on 2012-05-07 16:57 Milo的海域 阅读(262) 评论(0)  编辑  收藏 所属分类: LinuxSkills
1. Tutorial
http://net-snmp.sourceforge.net/wiki/index.php/Tutorials

2. 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

只有注册用户登录后才能发表评论。


网站导航: