Xymon Mailing List Archive search

Using "IGNORE" to exclude filesystems

list Tim McCloskey
Fri, 9 Nov 2012 17:16:24 +0000
Message-Id: <user-92f45d0a1d82@xymon.invalid>

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 [user-92fd6827f6ae@xymon.invalid]
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>;