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

Charles Goyard cgoyard at cvf.fr
Wed Dec 6 18:46:59 CET 2006


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 - cgoyard at cvf.fr - (+33) 1 45 38 01 31



More information about the Xymon mailing list