SNMP: NagiosXi unable to receive SNMP Traps

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: SNMP: NagiosXi unable to receive SNMP Traps

Post by nscott »

Ok, the next step in the chain is checking in the /etc/snmp/snmptt.conf to find the proper response for .1.3.6.1.6.3.1.1.5.1, is there an entry for .1.3.6.1.6.3.1.1.5.1 or whatever .1.3.6.1.6.3.1.1.5.1 resolves to?
Nicholas Scott
Former Nagios employee
ecarrasq
Posts: 244
Joined: Tue Feb 22, 2011 5:58 pm

Re: SNMP: NagiosXi unable to receive SNMP Traps

Post by ecarrasq »

This is what is inside the snmptt.conf when I searched for the: .1.3.6.1.6.3.1.1.5.1

#
EVENT coldStart .1.3.6.1.6.3.1.1.5.1 "Status Events" Normal
FORMAT A coldStart trap signifies that the SNMP entity, $*
EXEC /usr/local/bin/snmptraphandling.py "$r" "SNMP Traps" "$s" "$@" "$-*" "A coldStart trap signifies that the SNMP entity, $*"
SDESC
A coldStart trap signifies that the SNMP entity,
supporting a notification originator application, is
reinitializing itself and that its configuration may
have been altered.
Variables:
EDESC
#
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: SNMP: NagiosXi unable to receive SNMP Traps

Post by nscott »

Ok, so it is in there, and we can verify that you are actually receiving the traps. And, actually, Nagios XI was getting the traps before (as indicated that they showed up in the Unconfigured Objects). Lets just do a quick test to make sure that pipe is working. In this example replace <HOST> with the host name.
/usr/local/bin/snmptraphandling.py "<HOST>" "SNMP Traps" "Normal" `date +%s` ' ' 'Hi ecarrasq'
Please note the quotes around date +%s are backticks (which is the quote located directly above tab.) Now 'Hi ecarasssq' should show up under the SNMP Traps service of <HOST> with Normal/OK status.
Nicholas Scott
Former Nagios employee
ecarrasq
Posts: 244
Joined: Tue Feb 22, 2011 5:58 pm

Re: SNMP: NagiosXi unable to receive SNMP Traps

Post by ecarrasq »

THAT WORKED!!!!

now what?

Should the traps be sent a certain way? Is there any configuration changes I need to do to the snmptt.conf?

Thanks!
You do not have the required permissions to view the files attached to this post.
ecarrasq
Posts: 244
Joined: Tue Feb 22, 2011 5:58 pm

Re: SNMP: NagiosXi unable to receive SNMP Traps

Post by ecarrasq »

I just sent a SNMP trap via the siteminder server and its working!!!!!!!!!!!!!!!!!!!!1

THANK YOU NAGIOS SUPPORT TEAM!
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: SNMP: NagiosXi unable to receive SNMP Traps

Post by nscott »

Thank YOU for participating with that troubleshooting, I'll be updating the doc with what we went through. :D
Nicholas Scott
Former Nagios employee
Locked