alerts.cfg regex ignoring $ (dollar)
6 Jun
2014
6 Jun
'14
4:25 p.m.
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
4401
Age (days ago)
4401
Last active (days ago)
0 comments
1 participants
participants (1)
-
spah@syntec.co.uk