I have tried to follow all of the steps in the "Integrating SNMP Traps With Nagios XI" guide to get it working again, but the traps just seem to evaporate. I have tried following the advice on numerous forum posts, but I nothing seems to be getting to the heart of it.
I have tried upgrading the latest version of net-snmp, as well as the latest version of snmptt (upgraded using yum). I have also tried re-installing the MIB's in /usr/share/snmp/mibs/
If I tail my logs, I can see the traps coming in:
I set up the SNMP Trap for the host, and I also looked in the Unconfigured Objects. Nothing shows up.[root@v-nagios01 snmptt]# tail -f /var/log/messages
Feb 14 12:01:35 v-nagios01 snmptrapd[43736]: 2014-02-14 12:01:35 10.160.100.100(via UDP: [10.160.100.00]:63373->[10.160.100.200]) TRAP, SNMP v1, community Foo #012#011.1.3.6.1.4.1.311.1.1.3.1.2 Cold Start Trap (0) Uptime: 0:00:00.00#012
I have looked in /var/log/snmptt/snmpttunknown.log and snmptt.log, and both are empty. I have tried to send the test trap as indicated in the guide, and nothing shows up.
I have tried stopping a restarting services, and nothing fixes it. However, whenever I start up snmptt I get the following:
Please help.[root@v-nagios01 tmp]# service snmptt start
Starting snmptt: Unlinked OID in HOST-RESOURCES-MIB: host ::= { mib-2 25 }
Undefined identifier: mib-2 near line 9 of /usr/share/snmp/mibs/hostmib.mib
Did not find 'hrMIBAdminInfo' in module HOST-RESOURCES-MIB (/usr/share/snmp/mibs/HOST-RESOURCES-TYPES.txt)
Did not find 'hrStorage' in module HOST-RESOURCES-MIB (/usr/share/snmp/mibs/HOST-RESOURCES-TYPES.txt)
Did not find 'hrDevice' in module HOST-RESOURCES-MIB (/usr/share/snmp/mibs/HOST-RESOURCES-TYPES.txt)
Unlinked OID in HOST-RESOURCES-TYPES: hostResourcesTypesModule ::= { hrMIBAdminInfo 4 }
Undefined identifier: hrMIBAdminInfo near line 7 of /usr/share/snmp/mibs/HOST-RESOURCES-TYPES.txt
Unlinked OID in HOST-RESOURCES-TYPES: hrFSTypes ::= { hrDevice 9 }
Undefined identifier: hrDevice near line 226 of /usr/share/snmp/mibs/HOST-RESOURCES-TYPES.txt
Unlinked OID in HOST-RESOURCES-TYPES: hrDeviceTypes ::= { hrDevice 1 }
Undefined identifier: hrDevice near line 108 of /usr/share/snmp/mibs/HOST-RESOURCES-TYPES.txt
Unlinked OID in HOST-RESOURCES-TYPES: hrStorageTypes ::= { hrStorage 1 }
Undefined identifier: hrStorage near line 37 of /usr/share/snmp/mibs/HOST-RESOURCES-TYPES.txt
Cannot adopt OID in HOST-RESOURCES-TYPES: hostResourcesTypesModule ::= { hrMIBAdminInfo 4 }