addmib not translating MIBs properly

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

addmib not translating MIBs properly

Post 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?
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: addmib not translating MIBs properly

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked