|
|||||||||||
|
[Nagios-users] Wildcards on ckeck_disk
From: Stevens, Michael <Michael_Stevens(at)affymetrix.com>
Date: Fri Sep 28 2007 - 11:04:40 EDT I'd like to use wildcards on the check_disk (1.4.9 on Solaris) command to exclude the monitoring of some mount points. I have mounts that look like: / Each users $HOME is automounted at /home/username, and I do not want check_disk to monitor those directories. I've tried using various forms of -x /home/*, but I've not been able to get check_disk to stop monitoring the directories under /home. In a similar thread, someone suggested setting up a for loop to do the excludes. So, I've done this: /usr/local/nagios/libexec/check_disk -w 8% -c 2% -m -x /dev/fd -x This works from the shell, but not if I try to run it under nrpe. Other than putting a wrapper around the above command, is there any way to exclude a list of similar mount points? Thanks in advance, -- Mike Stevens ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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/nullReceived on Fri Sep 28 11:06:34 2007 This archive was generated by hypermail 2.1.8 : Mon Oct 08 2007 - 18:02:24 EDT |
||||||||||
|
|||||||||||