[Xymon] Ignoring snap mounts

Thomas Eckert thomas.eckert at it-eckert.de
Sun Nov 18 16:44:25 CET 2018


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 <josh at imaginenetworksllc.com> 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: 937-552-2340
> Direct: 937-552-2343
> 1100 Wayne St
> Suite 1337
> Troy, OH 45373
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20181118/68725fe7/attachment.html>


More information about the Xymon mailing list