Xymon Mailing List Archive search

Ignoring snap mounts

list Josh Luthman
Tue, 13 Nov 2018 14:04:39 -0500
Message-Id: <user-2679defb88f6@xymon.invalid>

Thanks for the sanity check!

My issue was actually having DEFAULTS at the top (the DISK * 90 95)
overwriting the things below.  I've got all my server specific stuff below
it, but that's for FILE checks and such.  I figured this out when I tried
to set DISK / 1 2 to be warned about that, which failed when the statement
was placed below DEFAULTS.


Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

On Tue, Nov 13, 2018 at 1:11 PM, Kris Springer <user-c2caa0a7a8d5@xymon.invalid>
wrote:
I got mine working like this.
DISK   %^/snap*/   IGNORE

Kris Springer


On 11/13/18 10:18 AM, Josh Luthman wrote:

I am trying to ignore /snap/*.  I've got my host as such:

HOST=foo.bar.com
        DISK    %^/snap.*/ IGNORE
        INODE %^/snap* IGNORE

Neither of these are matching (notice the .*/ versus *).  The man page
says "%^/oracle.*/" will match any filesystem whose mountpoint begins with
"/oracle".  Replicating this, though, doesn't seem to be working for me -
I'm expecting the DISK to be working at this point as I matched the example.

I'm getting a red status that the file system is 100% used.

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
<https://maps.google.com/?q=1100+Wayne+St+%0D%0A++++++++++++++++++++Suite+1337+%0D%0A++++++++++++++++++++Troy,+OH+45373&entry=gmail&source=g>;
Suite XXXX
Troy, OH XXXXX

Xymon mailing user-d459c9d661b6@xymon.invalid