Xymon Mailing List Archive search

alerts macro feature request

list Henrik Størner
Tue, 1 Feb 2005 16:37:29 +0100
Message-Id: <user-5f6c5b4ad327@xymon.invalid>

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