nrpe check_disk

Martijn Lievaart m at rtij.nl
Mon Feb 14 23:32:29 CET 2005


joe ritter wrote:

>Hello,
>I am usig nagios with check_nrpe to monitor remote
>hosts running the nrpe daemon. I anm having difficulty
>with the plugin check_disk. If I run the the command
>by hand on the nagios hosts all is well:
>
> /usr/lib/nagios/plugins/check_nrpe -H 192.168.120.11
>-c check_disk -a  20%   10%  /dev/cciss/c0d0p1
>DISK OK [67334 kB (71%) free on /dev/cciss/c0d0p1]
>
>If run the command on the remote hosts all look fine
>as well:
>
> /usr/lib/nagios/plugins/check_disk -w 20% -c 10%
>/dev/cciss/c0d0p1
>DISK OK [67334 kB (71%) free on /dev/cciss/c0d0p1]
>
>
>However when the command is run by the nagios daemon
>on the moniting host the I recieve the follwoing error
>in the web interface:
>
>Warning threshold must be integer or percentage! 
>
>Here are the relevant defines I have set up for this
>plugin:
>
>nrpe.cfg on remote host:
>
>command[check_disk]=/usr/lib/nagios/plugins/check_disk
>  -w $ARG1$  -c $ARG2$  -
>p $ARG3$
>
>  
>

You do have nrpe compiled with remote args? Otherwise it will not see 
the arguments.

M4



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
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