check_nrpe DISK UNKNOWN

Jake Solid richardsolid at gmail.com
Wed Jan 9 23:50:34 CET 2008


If I run the command */usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p
/dev/mapper/VolGroup01-infoVol00*  from the server that its getting
monitored it outputs the information ok like the following:

*DISK CRITICAL - free space: /vservers/fred/data 6113 MB (5% inode=99%);|
/vservers/colombia/info =108694MB;96760;108855;0;120951*

If I use the mount point when running the line from the monitored server it
also gives the proper output.

Now, If I use the check_nrpe with the check_disk option from the nagios
server is when it give incompleted output like the following:

*DISK UNKNOWN - free space:|*

If specify the mount point in the nrpe.cfg of the monitored server and then
run the check_nrpe with the check_disk from the nagios server. It gives the
following:
*
DISK CRITICAL - /vservers/colombia/info does not exist*

Any inputs?



On Dec 18, 2007 1:05 PM, mark redding <mwjredding at gmail.com> wrote:
> Hi,
>
> On 18/12/2007, Jake Solid <richardsolid at gmail.com> wrote:
> > Thanks for your reply.
> >
> > Here is how the command looks like:
> >
> > command[check_disk3]=/usr/lib64/nagios/plugins/check_disk -w 20% -c
> > 10% -p /dev/mapper/VolGroup01-infoVol00
>
> Could possibly be the length of the device name. I've always used the
> mountpoint in this command rather than the device :-
>
> command[check_disk3]=/usr/lib64/nagios/plugins/check_disk -w 20% -c
> 10% -p /vservers/colombia/info
>
> It may even be something as simple as a misconfiguration in the
> service definition which means that it's not actually calling the
> check_disk3 nrpe command at all (though not likely as you get the
> problem when you run interactively too).
>
> --
> bright blessings,
> Mark
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080109/8b73c9b0/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
-------------- next part --------------
_______________________________________________
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