Xymon Mailing List Archive search

hobbit-alerts.cfg regex/MACRO problem - need help

list Charles Goyard
Wed, 6 Dec 2006 18:46:59 +0100
Message-Id: <user-09492e843575@xymon.invalid>

Hi,

Try:

$UNUSED_PROD1=prod-app-2|3|4||5|6|7|8|9|(10)|(11)|(12)|(18)|(20)|(21)|(22)|(23)|(24)
$UNUSED_PROD2=prod-web-1|2|3|4|9|(10)|(11)

and include both macros in you rule as two distinct regexes (separated
with commas I guess).

I did not try :).


Charles Jones wrote :
I offer $5 via paypal to anyone who can help me figure this out.  :-)
I am trying to use a regex macro to exclude a number of hosts from 
an alert.  Here is the one I was using at first:
$UNUSED_PROD=%prod-app-(2|3|4|5|6|7|8|9|10|11|12|18|20|21|22|23|24)|prod-web-(1|2|3|4|9|10|11)
-- 
Charles Goyard - user-98f9625a7a59@xymon.invalid - (+33) 1 45 38 01 31