Page 1 of 1

addmib not translating MIBs properly

Posted: Tue Jul 05, 2016 1:39 pm
by snapon_admin
Ahh good 'ol SNMP traps, my favorite thing. :roll: I have 2 cisco MIBS that I'm trying to add to my Nagios server (CISCO-SMI and IP-FORWARD-MIB) but when I run the "addmib" command they get added to snmptt.conf, but with nothing there for translation. This is what that conf file looks like after running the command:

Code: Select all

#
#
#
#
MIB: CISCO-SMI (file:/usr/share/snmp/mibs/CISCO-SMI.txt) converted on Wed Jun 22 10:38:29 2016 using snmpttconvertmib v1.3
#
#
#
#
MIB: IP-FORWARD-MIB (file:/usr/share/snmp/mibs/IP-FORWARD-MIB.txt) converted on Wed Jun 22 10:38:54 2016 using snmpttconvertmib v1.3
Any idea why these aren't being added properly and is there any way to get the proper translations in there without (gulp) doing it manually?

Re: addmib not translating MIBs properly

Posted: Tue Jul 05, 2016 1:54 pm
by tgriep
Those MIB files do not have any TRAP OID's so there isn't anything to import. That is why there are no entries in the snmptt.conf file.
The addmib looks for TRAP-TYPE OID's to import, it is doesn't find any, it cannot import any settings.