restrict check_disk to local mounts

Voon, Ton Ton.Voon at egg.com
Fri Jul 11 18:36:45 CEST 2003


Thanks for the patch Skip, but the latest CVS version of check_disk allows
an option to ignore types of filesystems, such as CDROMs.

> -----Original Message-----
> From: Skip Montanaro [mailto:skip at pobox.com] 
> Sent: Friday, July 11, 2003 5:20 PM
> To: nagios-devel at lists.sourceforge.net
> Subject: [Nagios-devel] restrict check_disk to local mounts
> 
> 
> 
> I don't know if the current behavior of check_disk is 
> intentional, but I
> noticed today that when I had a CD NFS mounted on a Solaris system
> check_disk reported a disk-full situation.  The attached patch to
> configure.in tries df with the -l flag in a couple 
> situations.  That's not a
> perfect solution (a locally mounted CD would still be 
> reported as full) but
> in any case it seems to me that check_disk should only be 
> reporting the
> status of local disks.
> 
> Keep or toss depending on the check_disk author's views on the matter.
> 
> -- 
> Skip Montanaro
> Got gigs? http://www.musi-cal.com/
> Got spam? http://spambayes.sf.net/
> 
> 


This private and confidential e-mail has been sent to you by Egg.
The Egg group of companies includes Egg Banking plc
(registered no. 2999842), Egg Financial Products Ltd (registered
no. 3319027) and Egg Investments Ltd (registered no. 3403963) which
carries out investment business on behalf of Egg and is regulated
by the Financial Services Authority.  
Registered in England and Wales. Registered offices: 1 Waterhouse Square,
138-142 Holborn, London EC1N 2NA.
If you are not the intended recipient of this e-mail and have
received it in error, please notify the sender by replying with
'received in error' as the subject and then delete it from your
mailbox.



-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1




More information about the Developers mailing list