problem with check_disk.. returns state UNKNOWN

Subhendu Ghosh sghosh at sghosh.org
Mon Nov 11 21:40:19 CET 2002


PLEASE - no HTML mail

How do you check the disk usage of remote systems?  Nagios is not (yet) 
all powerful. - plugins for local systems checks need to be installed 
locally on every target system.

something is not right with the output below - RedHat with "df -Pk" should 
output 6 columns of data not 5.

-sg


On Mon, 11 Nov 2002, Gerald Wichmann wrote:
<snip>
>  
>  
> I'm not sure what the trick is to getting check_disk to work. It works on
> the box that has nagios installed but not on any others. Do I need to
> compile and install the plugins on all my boxes (I suspect not because other
> plugins work fine. Notice total processes and load above)? These are all
> RedHat boxes running kernel 2.4.19-1.
>  
> I copied check_disk over to the box above and ran it from the command line.
> It returned:
>  
> [root at ps-sm-poly-00 mailSend]# check_disk -c'10%' -w'20%' -p /dev/hda5
> Unable to read output:
> /bin/df -Pk /dev/hda5
> /dev/hda5              1035660     56168    926884       6%
>  
> Apparently therein lies the problem. Question is, whats the problem? The df
> command seems to return what it's supposed to. Appreciate any assistance.
>  
> -Gerald
>  
> 

-- 





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf




More information about the Users mailing list