[Nagiosplug-devel] [ nagiosplug-Feature Requests-881670 ] Wildcarding option in use of '-x' switch
SourceForge.net
noreply at sourceforge.net
Wed Jan 21 12:22:01 CET 2004
Feature Requests item #881670, was opened at 2004-01-21 15:21
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397600&aid=881670&group_id=29880
Category: None
Group: None
Status: Open
Priority: 5
Submitted By: Martin Gignac (lmcgign)
Assigned to: Nobody/Anonymous (nobody)
Summary: Wildcarding option in use of '-x' switch
Initial Comment:
I was wondering if there any plans to include the
possibility of wildcarding filesystems with '*' for
example when using the '-x' switch.
For example, when mounting a Solaris install CD on a
Solaris box, the Solaris CD automounter creates six
distinct "mount points" automatically. These mount
points are dynamic and contain (among other things) the
name of the CD.
For example:
/cdrom/solaris_8_hw1001_sparc/s0
/cdrom/solaris_8_hw1001_sparc/s1
/cdrom/solaris_8_hw1001_sparc/s2
/cdrom/solaris_8_hw1001_sparc/s3
/cdrom/solaris_8_hw1001_sparc/s4
and
/cdrom/solaris_8_hw1001_sparc/s5 are all new mount
points created when CD X is entered. If another CD is
entered, then the mount point name after the '/cdrom/'
will change, making it hard to exclude these "moving
target" filesystems. And since a CD-ROM file system
always shows up as 0% free, a CRITICAL event is
generated by the plugin as soon as a CD is inserted in
the SUN box. Excluding a filesystem type will not work
either as 's0' shows up as 'hsfs' and the rest all show
up as 'ufs' Excludng 'ufs' would pretty much eliminate
checks on all Solaris partitions while eliminating
'hsfs' still leaves the other s1-s5 partitions (some of
which are at 98% full) and that still generates an alarm.
If wildcarding could be done with the '-p' switch, such as:
check_disk -w 20% -c 20% -x "/cdrom/*"
this would prevent any CD from being checked.
Regards,
-Martin
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397600&aid=881670&group_id=29880
More information about the Devel
mailing list