[Xymon] Using "IGNORE" to exclude filesystems

Larry Barber lebarber at gmail.com
Fri Nov 9 18:23:01 CET 2012


Yes, I always specify host names in analysis.cfg and alerts.cfg with a
leading caret and trailing $. It prevents a lot of unintentional matches,
since Xymon seems to put .* before and after the names before trying to
match them.

Thanks,
Larry Barber

On Fri, Nov 9, 2012 at 11:16 AM, Tim McCloskey <tm at freedom.com> wrote:

>  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 Managerswww.websitemanagers.com.au
>
>
> _______________________________________________
> 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/20121109/b1d2ae91/attachment.html>


More information about the Xymon mailing list