Monitor disk use info !!!
Karl DeBisschop
karl at debisschop.net
Mon Feb 2 13:44:19 CET 2004
On Wed, 2004-01-28 at 18:57, Paul L. Allen wrote:
> Jason Martin writes:
>
> > It sounds like you are looking for the -e option:
> >
> > -e, --errors-only
> > Display only devices/mountpoints with errors
>
> It wasn't me that wanted it but the other guy. I didn't remember the
> -e option because it was long ago when I looked at what check_disk did
> and figured out what I wanted to do with it. Silly me, I also assumed
> that because this guy asked, he had already looked at what check_disk did
> and there wasn't such an option, so there was no need for me to have a
> look. Surely, if somebody asks for an option to do something, it is
> because he has already looked at what options exist - not on this list,
> which should probably be renamed nagios-for-users-too-lazy-or-too-stupid-
> to-do-anything-for-themselves-and-expect-others-to-do-it-all-for-them.
>
> ...Better would be if check_disk
> allowed multiple -p options, so that you could list all the mount points
> you want to check, it would be done in one check, and you could use -e
> to display only the ones with problems if you wanted.
If you look at the 1.4a release or the CVS tree, that capability has
been in the check_disk since for some time now. Not a stable release
yet, but it's there if you need it.
--
Karl
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Nagios-users mailing list
Nagios-users at 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/null
More information about the Users
mailing list