[Xymon] Using "IGNORE" to exclude filesystems

Tim McCloskey tm at freedom.com
Fri Nov 9 18:16:24 CET 2012


Adam is correct.  I was not putting much thought into the range, more just that a caret and unescaped leading slash was required for Mike's issue.  Also, I would not use .*, based on a practice of only matching what you need, when you know what it is.  In this case it was known to be 01->27, and I borked that simple match :)

Besides placing these above the DEFAULT stanaza I see alot of mishaps when using the regex identifier % without the start of the line caret ^.

%^/


________________________________
From: xymon-bounces at xymon.com [xymon-bounces at xymon.com] on behalf of Adam Goryachev [mailinglists at websitemanagers.com.au]
Sent: Thursday, November 08, 2012 3:32 PM
To: xymon at xymon.com
Subject: Re: [Xymon] Using "IGNORE" to exclude filesystems



I don't think that would work, you would need something like:
HOST=edmprod
        DISK    %^/(da[0-1][0-9]|da2[0-7]) IGNORE
        DISK    * 95 98

Regards,
Adam

--
Adam Goryachev
Website Managers
www.websitemanagers.com.au<http://www.websitemanagers.com.au>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20121109/45c15f0a/attachment.html>


More information about the Xymon mailing list