If I run the command <b>/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /dev/mapper/VolGroup01-infoVol00</b> from the server that its getting monitored it outputs the information ok like the following:<br><br><i>DISK CRITICAL - free space: /vservers/fred/data 6113 MB (5% inode=99%);| /vservers/colombia/info =108694MB;96760;108855;0;120951
</i><br><br>If I use the mount point when running the line from the monitored server it also gives the proper output.<br><br>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:
<br><br><i>DISK UNKNOWN - free space:|</i><br><br>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:<br><i><br>
DISK CRITICAL - /vservers/colombia/info does not exist</i><br><br>Any inputs?<br><br><br><br>On Dec 18, 2007 1:05 PM, mark redding <<a href="mailto:mwjredding@gmail.com">mwjredding@gmail.com</a>> wrote:<br>> Hi,<br>
> <br>> On 18/12/2007, Jake Solid <<a href="mailto:richardsolid@gmail.com">richardsolid@gmail.com</a>> wrote:<br>> > Thanks for your reply.<br>> ><br>> > Here is how the command looks like:<br>
> ><br>> > command[check_disk3]=/usr/lib64/nagios/plugins/check_disk -w 20% -c<br>> > 10% -p /dev/mapper/VolGroup01-infoVol00<br>> <br>> Could possibly be the length of the device name. I've always used the
<br>> mountpoint in this command rather than the device :-<br>> <br>> command[check_disk3]=/usr/lib64/nagios/plugins/check_disk -w 20% -c<br>> 10% -p /vservers/colombia/info<br>> <br>> It may even be something as simple as a misconfiguration in the
<br>> service definition which means that it's not actually calling the<br>> check_disk3 nrpe command at all (though not likely as you get the<br>> problem when you run interactively too).<br>> <br>> --
<br>> bright blessings,<br>> Mark<br>> <br><br>