Services return Unknown status

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Keo
Posts: 33
Joined: Wed May 09, 2012 12:11 pm

Services return Unknown status

Post by Keo »

So I setup a few service checks on a host and when I test the check from the core configuration and the nagios host the check returns a value. The problem is the Nagios XI interface still shows the status as "UNKNOWN".

Here is the output when I run it from the host:

Code: Select all

# /usr/local/nagios/libexec/check_nrpe -H myhost -p 5666 -c check_load
OK - load average: 0.43, 0.76, 0.91|load1=0.430;15.000;30.000;0; load5=0.760;10.000;25.000;0; load15=0.910;5.000;20.000;0; 
# echo $?
0 
This is the return from the core config manager:

Code: Select all

COMMAND: /usr/local/nagios/libexec/check_nrpe -H myhost -t 30 -c check_load 
OUTPUT: OK - load average: 0.32, 0.39, 0.67|load1=0.320;15.000;30.000;0; load5=0.390;10.000;25.000;0; load15=0.670;5.000;20.000;0;
Here is how Nagios XI and Nagios core both show this status:
nagios_unknown.png
You do not have the required permissions to view the files attached to this post.
Keo
Posts: 33
Joined: Wed May 09, 2012 12:11 pm

Re: Services return Unknown status

Post by Keo »

Never mind. Apparently 2 config files were created one with a Uppercase letter in it. I removed that one and now everything is green.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Services return Unknown status

Post by sreinhardt »

Great! Glad it's working!
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.
Locked