SNMP Traps : Waiting for traps ... HELP

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nadir
Posts: 5
Joined: Fri Jun 13, 2014 3:37 am

SNMP Traps : Waiting for traps ... HELP

Post by nadir »

Hello,
I am actually testing Nagios XI2014R1.1, and i work on SNMP TRAP.
I want to receive SNMP TRAP from a cisco switch, so I created a SNMP TRAP service from SNMP TRAP Wizard. The problem is that the service show Waiting for trap …
I have looked my log file, and I can see that i receive a trap in /var/log/snmptt/snmptt.log.
PS : I have added the Mibs files through the interface (Manage Mibs). I think the problem come from here.

Regards, Nadir
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: SNMP Traps : Waiting for traps ... HELP

Post by slansing »

What mibs are you using? I'd start by searching for them in the snmptt.conf file to see if they have proper exec lines. How did you import the mibs? Did you use addmib?
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: SNMP Traps : Waiting for traps ... HELP

Post by sreinhardt »

If you have the trap in snmptt.log, then the mib was successfully loaded. However it could be missing an exec line. Can you upload /etc/snmp/snmptt.conf and a the traps OID that your device is sending? Also please run the following command and paste the results back here.

Code: Select all

ll /usr/local/nagios/var/rw/
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Locked