Public bug reported: In order to translate SNMP Objects to oids you need the mib. After you install your mib in /usr/share/snmp/mibs and restart snmpd: snmptranslate -m all -Onf -IR MyMIBObject ......works but snmptranslate Onf -IR MyMIBObject ...... fails
Adding "mibs +all" to snmpd.conf does not work as the documentation says it should. There is no snmp.conf in /etc/snmp. To get the translation to work you need $HOME/.snmp/snmp.conf with "mibs +all" in it. What should happen is the package creates $HOME/.snmp/snmp.conf automatically and adds "mibs +all" as a default if thats appropriate. Documentation should change to make it clear what is controlled by snmp.conf ( and maybe there should be a global one too) and by snmpd.conf Ubuntu 10.04 root@john:~# dpkg -l | grep snmp ii libgsnmp0 0.2.0-3 ii libnet-snmp-perl 5.2.0-3 ii libsnmp-base 5.4.2.1~dfsg0ubuntu1-0ubuntu2.1 ii libsnmp-perl 5.4.2.1~dfsg0ubuntu1-0ubuntu2.1 ii libsnmp15 5.4.2.1~dfsg0ubuntu1-0ubuntu2.1 ii nagios-snmp-plugins 1.1.1-6 ii php5-snmp 5.3.2-1ubuntu4.9 ii snmp 5.4.2.1~dfsg0ubuntu1-0ubuntu2.1 ii snmp-mibs-downloader 1.0 ii snmpd 5.4.2.1~dfsg0ubuntu1-0ubuntu2.1 ** Affects: net-snmp (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in Ubuntu. https://bugs.launchpad.net/bugs/845247 Title: SNMP mibs +all does not work in snmpd.conf To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/845247/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs