[Xymon] Possible regex issue xymon 4.3.11
Ribeiro, Glauber
glauber.ribeiro at experian.com
Tue Sep 30 23:06:12 CEST 2014
Michael,
Perhaps you are thinking “glob” patterns, like the ones used with directory listings. Regular expressions are different. “*” doesn’t mean any sequence of characters, but zero or more of the preceding character. Google “regular expressions”. Xymon uses perl-style regular expressions.
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Steve Coile
Sent: Tuesday, September 30, 2014 12:58
To: Michael Resnick
Cc: xymon at xymon.com
Subject: Re: [Xymon] Possible regex issue xymon 4.3.11
It's you. The "s*" in your regular expression matches zero or more "s" at that location. The hostname you give contains zero "s" at that point, which matches the expression.
--
Steve Coile
Senior Network and Systems Engineer, McClatchy Interactive<http://www.mcclatchyinteractive.com/>
Office: 919-861-1247 | Mobile: 919-622-5369 | Fax: 919-861-1300
On Tue, Sep 30, 2014 at 1:27 PM, Michael Resnick via Xymon <xymon at xymon.com<mailto:xymon at xymon.com>> wrote:
_______________________________________________
Xymon mailing list
Xymon at xymon.com<mailto:Xymon at xymon.com>
http://lists.xymon.com/mailman/listinfo/xymon
---------- Forwarded message ----------
From: Michael Resnick <sys1002 at yahoo.com<mailto:sys1002 at yahoo.com>>
To: "xymon at xymon.com<mailto:xymon at xymon.com>" <xymon at xymon.com<mailto:xymon at xymon.com>>
Cc:
Date: Tue, 30 Sep 2014 17:20:31 +0000 (UTC)
Subject: Possible regex issue xymon 4.3.11
I have the following in alerts.cfg
HOST=%sciv2-ws*
The problem is that it is picking up a host called
sciv2-wdl2-hqd01
Is it me or the regex ?
Has this been fixed in newer versions ?
Thanks !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20140930/79470aa2/attachment.html>
More information about the Xymon
mailing list