[Nagiosplug-devel] [ nagiosplug-Patches-734923 ] check_disk - allow to check only local filesystems

SourceForge.net noreply at sourceforge.net
Wed May 14 15:32:10 CEST 2003


Patches item #734923, was opened at 2003-05-08 22:59
Message generated for change (Comment added) made by drich
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=734923&group_id=29880

Category: None
Group: None
>Status: Closed
Resolution: None
Priority: 1
Submitted By: Dan Rich (drich)
Assigned to: Ton Voon (tonvoon)
Summary: check_disk - allow to check only local filesystems

Initial Comment:
The attached patch adds a -l flag to check_disk,
causing it to check only local filesystems (only really
useful when checking all the filesystems on a system).
 I needed this because of systems with huge numbers of
NFS mounts.

----------------------------------------------------------------------

>Comment By: Dan Rich (drich)
Date: 2003-05-14 22:31

Message:
Logged In: YES 
user_id=21827

It looks like the -X does exactly what I need.  And, the
head snapshot supports multiple -x flags, so that addresses
part of a feature request I sent in as well!

Thanks!

----------------------------------------------------------------------

Comment By: Ton Voon (tonvoon)
Date: 2003-05-14 22:10

Message:
Logged In: YES 
user_id=664364

Dan,

Thanks for the patch. Unfortunately, I don't think we can use it because there 
is a dependency on the df command accepting a -l option, which I'm not 
convinced every OS supports (I think AIX doesn't have this switch). 

Also, I don't think this is required as the newest version of check_disk - 
which uses GNU df code - has a -X option to exclude specified filesystem 
types.

Can you try out the HEAD snapshot and see if this fits your needs.

I will close this call after 7 days if there have not been any updates.

Ton

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=734923&group_id=29880




More information about the Devel mailing list