NRPE Completely stumped

Andreas Ericsson ae at op5.se
Tue Aug 24 20:15:00 CEST 2004


John Acar wrote:
> Hi all,
> 
> I am trying to run disk_checks on remote systems using nrpe.  I believe
> that the nrpe daemon is configured ok and, of course, nagios is running
> just fine.  This is all running on Red Hat 9 systems.  However, when the
> check is run, either manually or through nagios, I get return code 3:
> Unable to read output.
> 

This may be because the plugin writes some output to stderr, while nrpe 
only reads stdout. Make sure you get exactly the same output when 
running the plugin like both these lines below;
---
plugin <args>
plugin <args> 2> /dev/null
---
The second line will redirect stderr output to /dev/null, so if you 
don't get any output there, then NRPE won't get any either.

> 
> Cheers!
> 
> John
> 
> A good friend will come and bail you out of jail...but a true friend will
> be sitting next to you saying, "Damn...that was fun!"
> 

-- 
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