[Nagiosplug-devel] [ nagiosplug-Feature Requests-734919 ] check_disk flexibility

SourceForge.net noreply at sourceforge.net
Sat Jun 28 19:40:16 CEST 2003

Feature Requests item #734919, was opened at 2003-05-08 23:56
Message generated for change (Comment added) made by tonvoon
You can respond by visiting: 

Category: None
Group: None
Status: Open
Priority: 5
Submitted By: Dan Rich (drich)
>Assigned to: Ton Voon (tonvoon)
Summary: check_disk flexibility

Initial Comment:
I am using check_disk via. nrpe to monitor diskspace on
our servers.  I like the feature of being able to
monitor all the filesystems with a single check_disk
call but have run into three problems/issues with this.

1.  There is no way to exclude multiple filesystems. 
Multiple -x flags just don't work.

2.  I need a way to allow for different percentages on
different filesystems.  For example, I may want to have
warnings at 10% and critical at 5% for most
filesystems, but if I have a 20GB filesystem, I
probably don't need a warning when there is still 2GB
free.  I also need this feature to be able to work
around disks that might be temporarily over their
high-water mark.  I'm thinking somethign along the
lines of:  check_disk -w 10% -c 5% -P /usr:5%:2%

3.  A flag is needed to tell check_disk to return mount
points instead of device names if -p is not used.  When
I get a warning, knowing that it is /usr that is full
is more useful than /dev/cciss/c0d0p3.


>Comment By: Ton Voon (tonvoon)
Date: 2003-06-29 03:39

Logged In: YES 


Thanks for the suggestions. You should find all of these have been 
addressed in the latest version of check_disk. For (2), you need to 
specify different levels like this:
check_disk -w 10% -c 5% -p / -p /tmp -w 5% -c 2% -p /usr

However, I've been thinking about your suggestion of -P to specify 
non-default thresholds. This has some potential so I've started a 
thread on it in nagiosplug-devel to gauge opinions.

Will update here when there is a decision made.



You can respond by visiting: 

More information about the Devel mailing list