NRPE Completely stumped

Andreas Ericsson ae at op5.se
Tue Aug 24 22:36:00 CEST 2004


John Acar wrote:
[...]
> command[check_disk1]=/usr/sbin/check_disk -w 20% -c 10%
> 

You haven't specified a disk to check. If you run this exact command 
from the monitored host, you'd get a message (to stderr) saying you need 
to specify a disk to check.

> *Doing things manually from the nagios server
> Issuing...
> %./check_nrpe -H somesystem -c check_disk1
> Yeilds...
> NRPE: Unable to read output
> 

Which is correct, since there is no output on stdout.

[...]
> 
> Thanks for the help and let me know what else you need...
> 

You're welcome. Next time you run into an issue, try running the command 
manually in the context its actually being run (i.e. on the remote 
host). This would have told you immediately what was wrong, and will 
keep you from tearing your hair in the future.

> John
> 

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