RE: [Nagios-devel] restrict check_disk to local mounts

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

RE: [Nagios-devel] restrict check_disk to local mounts

Post by Guest »

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:[email protected]]
> Sent: Friday, July 11, 2003 5:20 PM
> To: [email protected]
> 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 post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked