[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] hobbit-alerts.cfg regex/MACRO problem - need help
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] hobbit-alerts.cfg regex/MACRO problem - need help
- From: Charles Goyard <cgoyard (at) cvf.fr>
- Date: Wed, 6 Dec 2006 18:46:59 +0100
- References: <4553A4CA.3060600@cisco.com> <455B565F.5050305@cisco.com> <456DBAFF.9050309@cisco.com> <4576FDE9.3010403@cisco.com>
- User-agent: Mutt/1.5.9i
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