Xymon Mailing List Archive search

pg-group like in bigbrother

list Henrik Størner
Sun, 13 Feb 2005 08:51:18 +0100
Message-Id: <user-04c10854911f@xymon.invalid>

On Sat, Feb 12, 2005 at 10:35:12PM -0500, Asif Iqbal wrote:
Hi All

In bb1.9c I were able to define a pg-group and list couple email address
in bbwarnsetup.cfg and I could just use pg-group instead of the list of
email addresses in the bbwarnrules.cfg file.
Just as with hostnames, you use macros.

$WEBSERVERS=%www.*
$WEBADMINS="user-3ceb817e4f04@xymon.invalid user-b8255f2d2fe2@xymon.invalid"

HOST=$WEBSERVERS SERVICE=http
	MAIL $WEBADMINS


Now, there's a bug in RC1 so if you put some criteria after the "MAIL"
command, e.g. "MAIL $WEBADMINS COLOR=red", then the criteria only get
applied to the last mail recipient. Will fix that today, since it
seems we're going to be snowed in around here.


Henrik