Page 1 of 1

SNMP Traps : Waiting for traps ... HELP

Posted: Wed Jun 18, 2014 3:53 am
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

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

Posted: Wed Jun 18, 2014 10:43 am
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?

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

Posted: Wed Jun 18, 2014 10:50 am
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/