Xymon Mailing List Archive search

pg-group like in bigbrother

3 messages in this thread

list Asif Iqbal · Sat, 12 Feb 2005 22:35:12 -0500 ·
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.

The hg-group works very well with hobbit, but how do I create a
pg-group, which is essentially a group alias of a list of email
addresses, as I explained in the previous paragraph.

Anyone has any trick to make pg-group work?

Thanks

-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
"...it said: Install Windows XP or better...so I installed Solaris..."
list Asif Iqbal · Sat, 12 Feb 2005 23:32:21 -0500 ·
quoted from Asif Iqbal
On Sat, Feb 12, 2005 at 10:35:12PM, 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.

The hg-group works very well with hobbit, but how do I create a
pg-group, which is essentially a group alias of a list of email
addresses, as I explained in the previous paragraph.

Anyone has any trick to make pg-group work?
Currently I am using /etc/aliases on hobbit server Solaris 9 to deal
with group aliases. I am happy with this solution for now
quoted from Asif Iqbal

Thanks
-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
"...it said: Install Windows XP or better...so I installed Solaris..."
list Henrik Størner · Sun, 13 Feb 2005 08:51:18 +0100 ·
quoted from Asif Iqbal
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