Dear all,

I have a problem with my Nagios (v3.0.3) ignoring the return code of check_nrpe 
(v2.10). An example check_nrpe query looks like this:

# /usr/lib/nagios/plugins/check_nrpe -H 10.0.1.10 -c check_users ; echo "Return 
code: $?"

USERS WARNING - 1 users currently logged in |users=1;1;2;0 Return code: 1

Based on the return code, Nagios should (if I am niot mistaken) display the 
service as status "WARNING". But the Service State Information page in Nagios 
reads:

Current Status: OK  (green color)
Status Information:     USERS WARNING - 1 users currently logged in

This happens with all service I monitor via nrpe, the check itself goes ok, the 
status information is displyed correctly, but Nagios does not show the right 
status based on the return code. For local services on the nagios machine 
(e.g., a local check_users) this works just fine, so really seems to be 
something between nagios and check_nrpe.

Any advice or tips for further troubleshooting?

Cheers

René

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to