[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [xymon] on call rotation
- To: "xymon (at) xymon.com" <xymon (at) xymon.com>
- Subject: RE: [xymon] on call rotation
- From: Kenneth Falor <kenneth.falor (at) fcer.com>
- Date: Mon, 31 Jan 2011 12:24:38 -0600
- Accept-language: en-US
- Acceptlanguage: en-US
- References: <ii64b3$834$1 (at) voodoo.hswn.dk> <C96C2E9C.6EFF%sean.clark (at) twcable.com>
- Thread-index: AcvBUe5aKuXodtALRsatajuwcsniRgAIh2+Q
- Thread-topic: [xymon] on call rotation
Thanks for both ideas. Will see which fits best!
Kenneth.
-----Original Message-----
From: Clark, Sean [mailto:sean.clark (at) twcable.com]
Sent: Monday, January 31, 2011 8:20 AM
To: xymon (at) xymon.com
Subject: Re: [xymon] on call rotation
Another way to accomplish this, although outside of xymon, is to have a
mail alias setup
That is the method we took - mainly because other people outside of xymon
can also send an email to "alias"@domain.com
So your rules are
HOST=blabla
MAIL=oncall (at) domain.com
And then outside on the SMTP server for domain.com, we setup aliases that
rotate to the correct people
Not really using xymon in a clever way, but this worked in our setup,
especially with other people being able to just email
Oncall (at) domain.com and getting the oncall person
-Sean
On 1/31/11 5:53 AM, "Henrik Størner" <henrik (at) hswn.dk> wrote:
>In <DB352625B11C7B449262DE382AD536C539A3C0C68D (at) maserati.cars.ad> Kenneth
>Falor <kenneth.falor (at) fcer.com> writes:
>
>>Greetings, my company has a 5 person on call rotation that we just
>>started.=
>> Up to now only 1 person was paged if something went down, I would like
>>to =
>>modify xymon to allow it to change who is emailed/paged based on the
>>week a=
>>nd who is on call that week. Is this possible?
>
>It's not built into Xymon, but fairly trivial to do with some creative
>configuration of the alerts.cfg (hobbit-alerts.cfg in current versions).
>
>Your alert configuration probably has
>
> HOST=blabla
> MAIL joe (at) example.com
>
>So poor Joe gets all the alerts. Instead, I would do this:
>
> include oncall.cfg
>
> HOST=blabla
> MAIL $ONCALL
>
>and in the oncall.cfg I would put
>
> $ONCALL=joe (at) example.com
>
>Then you can update the oncall.cfg file when the on-call person
>changes - via cron, manually, or via some basic script/webpage
>that you setup. Xymon will automatically pick up when the file
>changes.
>
>
>Regards,
>Henrik
>
>
>To unsubscribe from the xymon list, send an e-mail to
>xymon-unsubscribe (at) xymon.com
>
>
To unsubscribe from the xymon list, send an e-mail to
xymon-unsubscribe (at) xymon.com