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
SNMP Traps : Waiting for traps ... HELP
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: SNMP Traps : Waiting for traps ... HELP
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
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.