[Xymon] alerts.cfg regex ignoring $ (dollar)
SebA
spah at syntec.co.uk
Fri Jun 6 18:25:17 CEST 2014
Hi all,
Can anyone confirm if this issue, alerts.cfg regex ignoring $ (dollar), from
2006 is fixed in the latest 4.3 code? I can confirm that it is not fixed in
4.3.7, but the best work-around is to add an exclude. (Although that does
not help if you wanted to put the $ in your exclude. FYI, ^ works fine in
regex.)
Example:
HOST=%MyHost$ SERVICE=conn
Testing as xymon user with:
~/server/bin/xymoncmd xymond_alert --test MyHost conn --color=red
--duration=700 | egrep "(Match with|Mail alert)"
with MyHost1, MyHost2, etc. firing.
Old references:
Ref: http://lists.xymon.com/archive/2006-November/010871.html
Ref: http://lists.xymon.com/archive/2010-January/027218.html
Kind regards,
SebA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20140606/d97f082c/attachment.html>
More information about the Xymon
mailing list