nrpe check_disk

joe ritter glestadt4 at yahoo.com
Fri Feb 18 18:06:31 CET 2005


Yes nrpe does have remote argument functionality
compiled in. The reason I know this and that I beleive
it is built correctly is that on these hosts where the
check_disk plugin does not work, the check_swap plugin
does and displays correctly in the web interface. Does
anyone have any other things that I might check?

Thanks
J.
--- Martijn Lievaart <m at rtij.nl> wrote:

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



		
__________________________________ 
Do you Yahoo!? 
Read only the mail you want - Yahoo! Mail SpamGuard. 
http://promotions.yahoo.com/new_mail 


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