Re: Checking disk space on a separate partition

Mark Reynolds <[email protected]> Thu, 20 Feb 2003 16:00:12 +0000
Newsgroups gmane.network.netsaint.user
Message-ID <[email protected]>
Have a look at the check_disk plugin. you can specify either a path or  
partition.

eg

in commands.cfg in netsaint

command[check_disk]=$USER1$/check_disk -w 10% -c 5% $ARG1$

then in hosts.cfg in netsaint

service[myboc]=DISK  
/dev/hda1;0;24x7;5;5;5;linux-admins;240;24x7;1;1;1;;check_disk;/dev/hda1

Mark


On Thursday, February 20, 2003, at 03:28  pm, [email protected]  
wrote:

>
> Hello all,
> Does anyone have a solution for checking a separate partition on a  
> server? I need to check /dev/sda and /dev/sda1 on a server of mine.
>
> Thanks in advance for your help.
>
> Mike