Disk Usage and excluding file systems
BOHR,JAMIE (A-ColSprings,ex1)
jamie_bohr at agilent.com
Tue May 11 02:14:03 CEST 2004
I have a Perl script that can do what you are looking for but it is not
finished and is part of a client package I use at work. It does the
following:
1. Thresholds per mount point, if threshold is
not set for given mount a global threshold is used
2. Excludes read-only mounts
3. UNIX OS independent - each OS has its own Perl Module
to set OS specif commands.
4. Put all mount into one service check
Working on allowing each mount point to be a separate
service check.
I will post it if any one is interested. Here is an example of the
configuration for it:
########### BEGIN ##########
#
# Global warning/critical levels
#
warning = 95
critical = 99
#
# Comma delimited list of mount points to exclude
#
#exclude = /m1,/m2
#
# Mount Warning Critical
# Point
#
/ 97 99
########### END ##########
The package I am working on has Perl scripts to monitor processes, load
and swap. There is also a log monitor piece that uses "sec".
If any one is interested let me know and I will post what I have so far.
- Jamie Bohr
On Mon, 2004-05-10 at 16:53, Patrick Proy wrote:
> I wrote one using snmp : look at check_snmp_storage.pl at
> http://www.manubulon.com/nagios/ .
> You can use the regexp feature to exclude multiple filesystems (I never did
> it that way, but it should work).
>
> Patrick
>
> ________________________________
>
> De : nagios-users-admin at lists.sourceforge.net
> [mailto:nagios-users-admin at lists.sourceforge.net] De la part de Nolan, Greg
> Envoyé : lundi 10 mai 2004 23:09
> À : nagios-users at lists.sourceforge.net
> Objet : [Nagios-users] Disk Usage and excluding file systems
>
>
>
> Nagios Users/Developers/Gurus,
>
> I would like to excluded multiple filesystems when checking disk usage, does
> anyone have a method for doing this? If not, has anyone written their own
> check_disk command?
>
> Thanks for the assistance.
>
> Greg Nolan
> Data Communications Analyst
> Disney Worldwide Services
> (818)560-4159 - (8228-4159)
>
> "This communication is confidential, intended only for the named
> recipient(s) above and may contain trade secrets or other information that
> is exempt from disclosure under applicable law. Any use, dissemination,
> distribution or copying of this communication by anyone other than the named
> recipient(s) is strictly prohibited. If you have received this communication
> in error, please immediately notify us by calling (818) 560-4159. Thank
> you."
>
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by Sleepycat Software
> Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
> higher performing products faster, at low TCO.
> http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040510/65c8a557/attachment.html>
More information about the Users
mailing list