Hi, 

you can also use different thresholds for each filesystem:

./check_disk -w 10% -c 20% -p / -C -m -w 100 -c 20 -p /usr

if you plan to do so, you should use a current version of check_disk.
Old versions have a bug where only the last given filesystem ist
checked.

regards, 

volker
--- Begin Message ---
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chandra
Bahadur
> 
> Hi
>    I would like to monitor two partitions(/dev/sda1 and /dev/sda3)
with the same command.. 
> How do I specify those ? Is it by separating with commas or by just
space as below ??
> 
> command[check_disk]=/usr/local/nagios/libexec/check_disk -w 10% -c 5%
-p /dev/sda3 /dev/sda1 
> 
> or 
> 
> command[check_disk]=/usr/local/nagios/libexec/check_disk -w 10% -c 5%
-p /dev/sda3,/dev/sda1


check_disk -w 10% -c 5% -p /dev/sda3 -p /dev/sda1 -p /mnt/foo

Warns if either partition is below 10%

Run "check_disk -h" for other things you can do

http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal 
views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on 
it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.
                                        

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Nagios-users mailing list
Nagios-users@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

--- End Message ---
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to