Trouble getting SNMP Traps to show in Nagios XI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
rkymtnhigh
Posts: 95
Joined: Tue May 12, 2015 11:53 am

Re: Trouble getting SNMP Traps to show in Nagios XI

Post 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. :(
rkymtnhigh
Posts: 95
Joined: Tue May 12, 2015 11:53 am

Re: Trouble getting SNMP Traps to show in Nagios XI

Post 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!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Trouble getting SNMP Traps to show in Nagios XI

Post 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!
Former Nagios employee
Locked