Xymon Mailing List Archive search

alerts.cfg regex ignoring $ (dollar)

list Sebastian Auriol
Fri, 6 Jun 2014 17:25:17 +0100
Message-Id: <!&!AAAAAAAAAAAuAAAAAAAAAL60wriLM9cRsTVojW0AAAABAFEdQVQs6tMRsLEAoMxarIMAAAABk2cAABAAAABNbvFjxOZGR7NzmUemnKiLAQAAAAA=@syntec.co.uk>

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