FW: NRPE always Returns 0 (OK) from monitoring server

Andreas Ericsson ae at op5.se
Wed Aug 25 10:13:31 CEST 2004


shane.stakem at managestar.com wrote:
> I am running Nagios 1.2 and NRPE 2.0
> 
> (I set the threshhold to be critical)
> When I run: /usr/local/nagios/libexec/check_disk1 20 30 /dev/sda "root"
> on the remote host and then $? I get 3 which is correct for a critical
> check.
> 

3 is actually unknown. 2 is critical.

> However when I run: /usr/local/nagios/libexec/check_nrpe -H 10.1.1.30 -p
> 5666 -c check_disk1 -to 10 I get the correct output string saying the
> state is critical but a $? returns a 0 hence showing up as "OK" status.
> I have tried this with every version of nrpe I could find. WHAT am I
> doing wrong?? or is this a software bug?
> 

This seems to be a software bug, although I've never seen it before. 
What version of NRPE are you running? Can you provide me with some log 
output (off list, if possible)?

> Thanks.
> 
> Shane Stakem
> 
> 

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
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





More information about the Users mailing list