Xymon Mailing List Archive search

sms alert sample script

list Benjamin P. August
Fri, 11 Apr 2008 08:44:05 -0700
Message-Id: <user-9a5565df5283@xymon.invalid>

Yes, that's what we did.

----from hobbit-alerts.cfg----
$SUPPSMS=SCRIPT /u01/webapps/hobbit/server/ext/smsplus.sh  
[comma-separated list of SMS email addresses] DURATION>6 REPEAT=120  
RECOVERED
----


-- 
--Ben
Benjamin P. August
System Administrator - VPUE
Stanford University


Quoting Taylor Lewick <user-ccbabb0b3ab0@xymon.invalid>:
I mean, we have a staff of 5 people who I would want to send the alert
too on their cell phones.  Can I create a group alias like IT-NOC that
would have 5 cell phone numbers to alert to?

-----Original Message-----
From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
Sent: Thursday, April 10, 2008 9:09 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] sms alert sample script

5 lines or an alias?


On 4/10/08, Taylor Lewick <user-ccbabb0b3ab0@xymon.invalid> wrote:
Thanks, I was actually after the smsplus.sh part, hadn't bothered to
check deadcat, I should have done that.  Ben posted the smsplus.sh, so
between the two I think I am good to go.


I believe I can setup macros with the hobbit-alerts.cfg file too.  Can
you set up an alias group so that you can send SMS alerts to multiple
cell phones, i.e. say you want to send it out to 5 phones at once?


Thanks,
Taylor


From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
Sent: Thursday, April 10, 2008 4:28 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] sms alert sample script


HOST=*
  MAIL user-4c45a83f15cb@xymon.invalid COLOR=RED DURATION>15m REPEAT=60
RECOVERED FORMAT=SMS
  #SCRIPT /home/hobbituser/server/ext/smsplus.sh
user-4c45a83f15cb@xymon.invalid DURATION>15m
  #4sms#MAIL user-ede67799c5ea@xymon.invalid COLOR=RED DURATION>15m REPEAT=60
RECOVERED FORMAT=SMS

This what you're after?

On Thu, Apr 10, 2008 at 4:46 PM, Taylor Lewick
<user-ccbabb0b3ab0@xymon.invalid> wrote:

Can someone provide a sample script they are using to send out SMS
alerts via hobbit.  If you are using add-on tools to do this please
provide which tools you are using.

Is anyone creating aliases for phone numbers?


Thanks,

Taylor


--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer

--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer