single command, multiple disks to monitor

Chandra Bahadur cfmx07 at yahoo.com
Thu Aug 28 17:47:42 CEST 2008


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

Thank you



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080828/326b4fe6/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
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=/
-------------- 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