Xymon Mailing List Archive search

regarding sending sms alerts with xymon

8 messages in this thread

list Akshar Bhosale · Sat, 29 Jan 2011 18:29:16 +0530 ·
Hi,
we have xymon 4.2.2 on RHEL 5.3 OS installed for cluster with 32 nos of
nodes for monitoring . We are trying to integrate sms alerts with xymon. We
have sms server with smash and gnokii setup. How we should integrate this
server with our xymon server so that is can send alerts.

Thank you,
-Akshar B.
NDF Computech
list Kenneth Falor · Sat, 29 Jan 2011 10:19:30 -0600 ·
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 and who is on call that week.  Is this possible?

Kenneth
list Josh Luthman · Sat, 29 Jan 2011 11:24:55 -0500 ·
Pretty sure the later version or a plugin does that.
quoted from Kenneth Falor
On Jan 29, 2011 11:21 AM, "Kenneth Falor" <user-b203be41ccd1@xymon.invalid> wrote:
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 and who is on call that week. Is this possible?

Kenneth
list Johan Sjöberg · Sat, 29 Jan 2011 21:47:33 +0100 ·
You need to write a script that accepts the phone number and status message as arguments, then you just use the SCRIPT command in hobbit-alerts.cfg. Or,  you could send e-mails to your SMS server with FORMAT=SMS and let the SMS server map the e-mail address to a phone number.

/Johan
quoted from Akshar Bhosale

From: akshar bhosale [mailto:user-ef04175556bd@xymon.invalid]
Sent: den 29 januari 2011 13:59
To: xymon at xymon.com
Subject: [xymon] regarding sending sms alerts with xymon

Hi,
we have xymon 4.2.2 on RHEL 5.3 OS installed for cluster with 32 nos of nodes for monitoring . We are trying to integrate sms alerts with xymon. We have sms server with smash and gnokii setup. How we should integrate this server with our xymon server so that is can send alerts.

Thank you,
-Akshar B.
NDF Computech
list Martin Flemming · Sat, 29 Jan 2011 21:59:36 +0100 (CET) ·
See smsplus on

http://xymonton.trantor.org/doku.php/alerts

cheers,
 	martin
quoted from Johan Sjöberg


On Sat, 29 Jan 2011, Johan Sjöberg wrote:
You need to write a script that accepts the phone number and status message as arguments, then you just use the SCRIPT command in
hobbit-alerts.cfg. Or,  you could send e-mails to your SMS server with FORMAT=SMS and let the SMS server map the e-mail address to a phone
number.

 

/Johan

 

From: akshar bhosale [mailto:user-ef04175556bd@xymon.invalid]
Sent: den 29 januari 2011 13:59
To: xymon at xymon.com
Subject: [xymon] regarding sending sms alerts with xymon

 

Hi,
we have xymon 4.2.2 on RHEL 5.3 OS installed for cluster with 32 nos of nodes for monitoring . We are trying to integrate sms alerts with
xymon. We have sms server with smash and gnokii setup. How we should integrate this server with our xymon server so that is can send alerts.

Thank you,
-Akshar B.
NDF Computech

list Henrik Størner · Mon, 31 Jan 2011 10:53:23 +0000 (UTC) ·
quoted from Kenneth Falor
In <user-fb557fa7962b@xymon.invalid> Kenneth Falor <user-b203be41ccd1@xymon.invalid> 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 user-5e58672ab5a6@xymon.invalid

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=user-5e58672ab5a6@xymon.invalid

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
list Sean Clark · Mon, 31 Jan 2011 09:19:53 -0500 ·
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 user-f13d2cfb3a97@xymon.invalid


So your rules are 

HOST=blabla
    MAIL=user-d4bac53b98cf@xymon.invalid


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
user-d4bac53b98cf@xymon.invalid and getting the oncall person


-Sean
quoted from Henrik Størner


On 1/31/11 5:53 AM, "Henrik Størner" <user-ce4a2c883f75@xymon.invalid> wrote:
In <user-fb557fa7962b@xymon.invalid> Kenneth
Falor <user-b203be41ccd1@xymon.invalid> 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 user-5e58672ab5a6@xymon.invalid

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=user-5e58672ab5a6@xymon.invalid

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

list Kenneth Falor · Mon, 31 Jan 2011 12:24:38 -0600 ·
Thanks for both ideas. Will see which fits best!

Kenneth.
quoted from Sean Clark

-----Original Message-----
From: Clark, Sean [mailto:user-2db5fbcae9a7@xymon.invalid] 
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 user-f13d2cfb3a97@xymon.invalid


So your rules are 

HOST=blabla
    MAIL=user-d4bac53b98cf@xymon.invalid


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
user-d4bac53b98cf@xymon.invalid and getting the oncall person


-Sean


On 1/31/11 5:53 AM, "Henrik Størner" <user-ce4a2c883f75@xymon.invalid> wrote:
In <user-fb557fa7962b@xymon.invalid> Kenneth
Falor <user-b203be41ccd1@xymon.invalid> 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 user-5e58672ab5a6@xymon.invalid

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=user-5e58672ab5a6@xymon.invalid

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