[xymon] Ignoring filesystems

Ryan Novosielski novosirj at umdnj.edu
Tue Jul 27 21:11:27 CEST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/27/2010 12:50 PM, Steve Holmes wrote:
> 
> On Tue, Jul 27, 2010 at 11:23 AM, Rob McBroom <mailinglist0 at skurfer.com
> <mailto:mailinglist0 at skurfer.com>> wrote:
> 
>     I’ve added something like this to the DEFAULT section at the end of
>     `hobbit-cleints.cfg`.
> 
>        DISK    /mnt IGNORE
> 
>     But if I mount something on /mnt, it still shows up, alerts, etc.
>     Does this have to be specified per-host/per-page/per-class or should
>     it be possible to define such a thing under DEFAULT?

Ah! I think I've figured it out. My apologies for the
reading-comprehension problem earlier. ;)

What I believe to be the problem is that your DISK * 90 95 entry comes
before the /mnt entry. That could be a bum guess, but I think it's the
most likely. FYI, here is my DEFAULT section:

DEFAULT
        # These are the built-in defaults.
        UP      1h
        LOAD    5.0 10.0
        DISK    %^/cdrom.* IGNORE
        DISK    %^/mnt.* IGNORE
        DISK    * 90 95
        MEMPHYS 100 101
        MEMSWAP 50 80
        MEMACT  90 97

I don't know if all of the punctuation is necessary if you're looking
specifically for one name of a filesystem, but I can tell you that mine
works (and handles /mnt/cdrom, or things like Solaris' /cdrom/cdrom0/s0,
etc.).
- -- 
- ---- _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Sr. Systems Programmer
|$&| |__| |  | |__/ | \| _| |novosirj at umdnj.edu - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.|IST/CST-Academic Svcs. - ADMC 450, Newark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxPL14ACgkQmb+gadEcsb6gvACguyB3xC/YijlfniOp7Zx181BQ
JpsAoKiVGQBltgCc7lwmE0va0VIpwMlT
=AN4r
-----END PGP SIGNATURE-----



More information about the Xymon mailing list