Xymon Mailing List Archive search

Ignoring snap mounts

list Thomas Eckert
Sun, 18 Nov 2018 16:44:25 +0100
Message-Id: <user-27aa3dc65157@xymon.invalid>

I’m late to the party … you already found out that the DEFAULT-section (or more general `DISK *`-lines) need to be _after_ your “snap-ignore lines”.

A more specific regex would be

    DISK    %^/snap/.+ IGNORE
    (same for the INODE-line).

All the best
Thomas
On 13 Nov 2018, at 18:18, Josh Luthman <user-4c45a83f15cb@xymon.invalid> wrote:

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

HOST=foo.bar.com <http://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
Suite XXXX
Troy, OH XXXXX