[hobbit] alerts macro feature request

Henrik Stoerner henrik at hswn.dk
Tue Feb 1 16:37:29 CET 2005


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



More information about the Xymon mailing list