Xymon Mailing List Archive search

User-defined alert group

list Galen Johnson
Wed, 8 Jun 2016 17:53:33 +0000
Message-Id: <user-0421623fac2c@xymon.invalid>

Wasn't sure if I used multiple emails like that if it would work, either.  I don't recall that being the way to do it but it if works...

thanks

=G=

From: Xymon <xymon-bounces at xymon.com> on behalf of John Thurston <user-ce4d79d99bab@xymon.invalid>
Sent: Wednesday, June 8, 2016 1:50 PM
To: xymon at xymon.com
Subject: Re: [Xymon] User-defined alert group

On 6/8/2016 9:43 AM, Galen Johnson wrote:
Hey,


I'd swear Xymon can do this but I'm having a hell of a time finding it
in the help.  I seem to recall that you could add an alias in the
alerts.cfg file that would allow you to set up a list of user groups
that you then use in your alert rules.
I use something like the following in my alerts.cfg:
$ImportantPeople=user-ab339435b1e3@xymon.invalid,user-e9512ef4eaf0@xymon.invalid,user-90e9c7049af6@xymon.invalid

DISPLAYGROUP=Production
    MAIL $ImportantPeople COLOR=red

--
    Do things because you should, not just because you can.

John Thurston    XXX-XXX-XXXX
user-ce4d79d99bab@xymon.invalid
Enterprise Technology Services
Department of Administration
State of Alaska