netsnmp installation on ubuntu

1. install net-snmp on ubuntu
    http://www.net-snmp.org/wiki/index.php/Net-Snmp_on_Ubuntu
2. using and loading mibs
    http://www.net-snmp.org/wiki/index.php/TUT:Using_and_loading_MIBS
3. put the private mibs into snmp paths
    run command: net-snmp-config --default-mibdirs to get the default mibs directory, and put your private mibs to the directory.
    run command: net-snmp-config --snmpconfpath to get the directory of snmp.conf
    edit snmp.conf and add below contents:
      mibs +MyMIB
    use snmptranslate -IR xxxxx to verify if you have got it ready.
  

猜你喜欢

转载自popi.iteye.com/blog/1603404
今日推荐