Page 2 of 2

Re: Trouble getting SNMP Traps to show in Nagios XI

Posted: Wed Jul 29, 2015 10:30 am
by rkymtnhigh
Nothing in unconfigured objects still, but I am getting External Command error: Command Failed

Code: Select all

Jul 29 10:16:56 nag01-dev nagios: Error: External command failed -> PROCESS_SERVICE_CHECK_RESULT;192.168.XX.XXX;SNMP Traps;0;A linkUp trap signifies that the SNMP entity, acting in an 24067 Loopback10 softwareLoopback up / ifIndex.24067 (INTEGER32):24067 ifDescr.24067 (OCTETSTR):Loopback10 ifType.24067 (INTEGER):softwareLoopback enterprises.9.2.2.1.1.20.24067 ():up
Jul 29 10:16:56 nag01-dev nagios: External command error: Command failed
EDIT:
So it seems the Passive Service and Host checks were completely disabled in Nagios. I enabled them both, but only Passive Host checks actually enabled.
The Passive Service Checks remaind disabled. :(

Re: Trouble getting SNMP Traps to show in Nagios XI

Posted: Wed Jul 29, 2015 11:42 am
by rkymtnhigh
Fixed the issue. Followed what scottwilkerson posted:

Postby scottwilkerson ยป Fri Mar 14, 2014 12:38 pm

This is likely caused by either a corrupt DB or invalid security credentials for the backend.

Lets do the following, go to Admin -> Reset Security Credentials and click update credentials.

Then run the following
CODE: SELECT ALL
/usr/local/nagiosxi/scripts/repairmysql.sh nagios
/usr/local/nagiosxi/scripts/repairmysql.shnagiosql


Let us know if that fixes the issue.

Traps are now showing up in nagios!

Thanks for all the help, you guys rock!

Re: Trouble getting SNMP Traps to show in Nagios XI

Posted: Wed Jul 29, 2015 4:34 pm
by tmcdonald
Glad to hear it!

I'll be closing this thread now, but feel free to open another if you need anything in the future!