[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] alerts macro feature request



On Mon, Jan 31, 2005 at 02:57:06PM -0800, Bruce Lysik wrote:
> Hi,
> 
> So I was defining an alert, when I tried to do this:
> 
> HOST=$GROUP1,$GROUP2 EXHOSTS=$SUBGROUP1,$SUBGROUP2

If your macros are not regular expressions, then it should just work.

If they are regular expressions, I suppose it would work if you
kept the "%" sign out of the expression, and did this:

HOST=%$GROUP1|$GROUP2 EXHOSTS=$SUBGROUP1|$SUBGROUP2


Henrik