sms alert sample script
list Taylor Lewick
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
list Josh Luthman
HOST=* MAIL user-4c45a83f15cb@xymon.invalid COLOR=RED DURATION>15m REPEAT=60 RECOVERED FORMAT=SMS #SCRIPT /home/hobbituser/server/ext/smsplus.sh user-5e5f9d502f85@xymon.invalid>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
list Benjamin P. August
Here's what we use. It started out life as smsplus.sh on deadcat, and
I swapped out one line so it has a more useful subject (because
BB-style numeric codes are pointless):
----start script----
#!/bin/bash
msg=`echo "${BBALPHAMSG}" | egrep "&yellow|&red"`
msg="\n${msg}"
# CODE:
#=======
# subject="!HB ${ACKCODE}"
subject="!Hobbit ${BBHOSTNAME}"
alert="${BBHOSTSVC} ${BBCOLORLEVEL}"
message="\n${alert}${msg}"
echo -e "${message}" | mail -s "${subject}" $RCPT
----end script----
--
--Ben
Benjamin P. August
System Administrator - VPUE
Stanford University
Quoting Josh Luthman <user-4c45a83f15cb@xymon.invalid>:
▸
HOST=* MAIL user-4c45a83f15cb@xymon.invalid COLOR=RED DURATION>15m REPEAT=60 RECOVERED FORMAT=SMS #SCRIPT /home/hobbituser/server/ext/smsplus.sh user-5e5f9d502f85@xymon.invalid>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
list Taylor Lewick
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
list Josh Luthman
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
list Taylor Lewick
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
list Taylor Lewick
Thanks, also, the way you use the smsplus.sh script, do you place in /hobbit/server/ext and add it into the hobbitlaunch.cfg? Or since its just being called via alerts, do you not need to place it in hobbitlaunch.cfg?
▸
-----Original Message-----
From: Benjamin P. August [mailto:user-e992dd5eb2a5@xymon.invalid]
Sent: Thursday, April 10, 2008 4:35 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] sms alert sample script
Here's what we use. It started out life as smsplus.sh on deadcat, and
I swapped out one line so it has a more useful subject (because
BB-style numeric codes are pointless):
----start script----
#!/bin/bash
msg=`echo "${BBALPHAMSG}" | egrep "&yellow|&red"`
msg="\n${msg}"
# CODE:
#=======
# subject="!HB ${ACKCODE}"
subject="!Hobbit ${BBHOSTNAME}"
alert="${BBHOSTSVC} ${BBCOLORLEVEL}"
message="\n${alert}${msg}"
echo -e "${message}" | mail -s "${subject}" $RCPT
----end script----
--
--Ben
Benjamin P. August
System Administrator - VPUE
Stanford University
Quoting Josh Luthman <user-4c45a83f15cb@xymon.invalid>:
HOST=* MAIL user-4c45a83f15cb@xymon.invalid COLOR=RED DURATION>15m REPEAT=60 RECOVERED FORMAT=SMS #SCRIPT /home/hobbituser/server/ext/smsplus.sh user-5e5f9d502f85@xymon.invalid>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
list Benjamin P. August
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
list Benjamin P. August
It is in $HOBBIT_HOME/server/ext, and it is only called for alerting, so no, it does not go into hobbitlaunch.cfg at all.
▸
--
--Ben
Benjamin P. August
System Administrator - VPUE
Stanford University
Quoting Taylor Lewick <user-ccbabb0b3ab0@xymon.invalid>:
Thanks, also, the way you use the smsplus.sh script, do you place in /hobbit/server/ext and add it into the hobbitlaunch.cfg? Or since its just being called via alerts, do you not need to place it in hobbitlaunch.cfg? -----Original Message----- From: Benjamin P. August [mailto:user-e992dd5eb2a5@xymon.invalid] Sent: Thursday, April 10, 2008 4:35 PM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] sms alert sample script Here's what we use. It started out life as smsplus.sh on deadcat, and I swapped out one line so it has a more useful subject (because BB-style numeric codes are pointless): ----start script---- #!/bin/bash msg=`echo "${BBALPHAMSG}" | egrep "&yellow|&red"` msg="\n${msg}" # CODE: #======= # subject="!HB ${ACKCODE}" subject="!Hobbit ${BBHOSTNAME}" alert="${BBHOSTSVC} ${BBCOLORLEVEL}" message="\n${alert}${msg}" echo -e "${message}" | mail -s "${subject}" $RCPT ----end script---- -- --Ben Benjamin P. August System Administrator - VPUE Stanford University Quoting Josh Luthman <user-4c45a83f15cb@xymon.invalid>:HOST=* MAIL user-4c45a83f15cb@xymon.invalid COLOR=RED DURATION>15m REPEAT=60 RECOVERED FORMAT=SMS #SCRIPT /home/hobbituser/server/ext/smsplus.sh user-5e5f9d502f85@xymon.invalid>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
list Oliver Grube
Hello,
this is just my opinion and something to thought about...
I have read about SMS alerting here. I think, from a reliability point of
view, this kind of alerting, is not stable enough.
Your designs are based on sending an eMail to an SMS sending system.
A simple question: How do you get alerts for your eMail system?
We have implemented this functionality with a simple modem attached to the
Hobbit system and we dial the SMS provider directly.
I think, that this is a more reliable solution, if you want to do SMS
Alerting.
Another option is to give the important guys Blackberry or similar devices
and let them read the alert via eMail.
Advantage: they can access internal hobbit systems directly and confirm
alerts...
As I said... just some thoughts...
mit freundlichen Grüßen - Best regards
Hälsningar - Met vriendelijke groeten
Sincères salutations
Oliver Grube
EU Security&Controls Manager
"Benjamin P.
August"
<baugust at stanford To
.edu> user-ae9b8668bcde@xymon.invalid
cc
2008-04-11 17:44
Subject
RE: [hobbit] sms alert sample
Please respond to script
user-ae9b8668bcde@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
Campbells Germany GmbH Registergericht Luebeck Reg. Nr. HRB 4082 Geschaeftsfuehrer: Joseph B. Folds III Geschaeftssitz: Geniner Strasse 88 - 100 23560 Luebeck Deutschland ********************************************************************** This e-mail and any files transmitted with it may contain confidential information and is intended solely for use by the individual to whom it is addressed. If you received this e-mail in error, please notify the sender, do not disclose its contents to others and delete it from your system. **********************************************************************
list Benjamin P. August
We don't run the email system, so we can't be alerted for it. We've found that there is such a thing as "good enough" in this case. -- --Ben Benjamin P. August System Administrator - VPUE Stanford University Quoting Oliver Grube <user-f10fe95e937b@xymon.invalid>:
▸
Hello, this is just my opinion and something to thought about... I have read about SMS alerting here. I think, from a reliability point of view, this kind of alerting, is not stable enough. Your designs are based on sending an eMail to an SMS sending system. A simple question: How do you get alerts for your eMail system? We have implemented this functionality with a simple modem attached to the Hobbit system and we dial the SMS provider directly. I think, that this is a more reliable solution, if you want to do SMS Alerting. Another option is to give the important guys Blackberry or similar devices and let them read the alert via eMail. Advantage: they can access internal hobbit systems directly and confirm alerts... As I said... just some thoughts... mit freundlichen Grüßen - Best regards Hälsningar - Met vriendelijke groeten Sincères salutations Oliver Grube EU Security&Controls Manager "Benjamin P. August" <baugust at stanford To .edu> user-ae9b8668bcde@xymon.invalid cc 2008-04-11 17:44 Subject RE: [hobbit] sms alert sample Please respond to script user-ae9b8668bcde@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 SpencerCampbells Germany GmbH Registergericht Luebeck Reg. Nr. HRB 4082 Geschaeftsfuehrer: Joseph B. Folds III Geschaeftssitz: Geniner Strasse 88 - 100 23560 Luebeck Deutschland ********************************************************************** This e-mail and any files transmitted with it may contain confidential information and is intended solely for use by the individual to whom it is addressed. If you received this e-mail in error, please notify the sender, do not disclose its contents to others and delete it from your system. **********************************************************************
list Phil Wild
Hi Oliver, Have a good read of the man pages around hobbit-alert. You do not need to involve email when sending messages at all and probably the most reliable method is with an attached GSM modem. It is much faster than analogue dialing a messaging provider. We use two gsm modems attached to two independent hobbit servers in two data centres connected to two different mobile providers. We have hobbit monitoring the messaging queues and have failover in place, if a message fails to get out via one provider after a number of retries, it is transferred to the other server. We have also planned to set up a ping test via sms where one modem sms's the other but it has fallen off the bottom of our todo list as the current configuration has proven to be very stable... It would be nice though if the modem hardware was more stable, regular restarts when they hang (wavenet modems). Can't say other brands are better and the monitoring and scripting has made them reliable enough so that we don't need to replace them and start again... Your carrier may also be able to provide a status message feature where you receive back an sms once your message has entered the recipients phone (extra messaging cost and no guarantee they will read it of course but then that is what escalation is for). I am sure it would be possible to script a confirmation check and retry on the other network if you really wanted to guarantee the message got to the phone... Cheers Phil 2008/4/11 Oliver Grube <user-f10fe95e937b@xymon.invalid>:
▸
Hello, this is just my opinion and something to thought about... I have read about SMS alerting here. I think, from a reliability point of view, this kind of alerting, is not stable enough. Your designs are based on sending an eMail to an SMS sending system. A simple question: How do you get alerts for your eMail system? We have implemented this functionality with a simple modem attached to the Hobbit system and we dial the SMS provider directly. I think, that this is a more reliable solution, if you want to do SMS Alerting. Another option is to give the important guys Blackberry or similar devices and let them read the alert via eMail. Advantage: they can access internal hobbit systems directly and confirm alerts... As I said... just some thoughts... mit freundlichen Grüßen - Best regards Hälsningar - Met vriendelijke groeten Sincères salutations Oliver Grube EU Security&Controls Manager
[image: Inactive hide details for "Benjamin P. August"
<user-e992dd5eb2a5@xymon.invalid>]"Benjamin P. August" <user-e992dd5eb2a5@xymon.invalid>
*"Benjamin P. August" <user-e992dd5eb2a5@xymon.invalid>*
2008-04-11 17:44
Please respond to
user-ae9b8668bcde@xymon.invalid
To
user-ae9b8668bcde@xymon.invalid
cc
▸
Subject RE: [hobbit] sms alert sample script 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<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<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 SpencerCampbell's Germany GmbH Registergericht Luebeck • Reg. Nr. HRB 4082 Geschaeftsfuehrer: Joseph B. Folds III Geschaeftssitz: Geniner Strasse 88 - 100 23560 Luebeck Deutschland ********************************************************************** This e-mail and any files transmitted with it may contain confidential information and is intended solely for use by the individual to whom it is addressed. If you received this e-mail in error, please notify the sender, do not disclose its contents to others and delete it from your system. **********************************************************************
list Phil Wild
Hi Oliver, Whoops! , I just reread your message and understand your comment better now - when I first read it I didn't realise you were making comment on a solution where someone was emailing an sms through a mail gateway rather than an direct sms based soln. Sorry Phil 2008/4/12 Phil Wild <user-e365c1418192@xymon.invalid>:
▸
Hi Oliver, Have a good read of the man pages around hobbit-alert. You do not need to involve email when sending messages at all and probably the most reliable method is with an attached GSM modem. It is much faster than analogue dialing a messaging provider. We use two gsm modems attached to two independent hobbit servers in two data centres connected to two different mobile providers. We have hobbit monitoring the messaging queues and have failover in place, if a message fails to get out via one provider after a number of retries, it is transferred to the other server. We have also planned to set up a ping test via sms where one modem sms's the other but it has fallen off the bottom of our todo list as the current configuration has proven to be very stable... It would be nice though if the modem hardware was more stable, regular restarts when they hang (wavenet modems). Can't say other brands are better and the monitoring and scripting has made them reliable enough so that we don't need to replace them and start again... Your carrier may also be able to provide a status message feature where you receive back an sms once your message has entered the recipients phone (extra messaging cost and no guarantee they will read it of course but then that is what escalation is for). I am sure it would be possible to script a confirmation check and retry on the other network if you really wanted to guarantee the message got to the phone... Cheers Phil 2008/4/11 Oliver Grube <user-f10fe95e937b@xymon.invalid>: Hello,this is just my opinion and something to thought about... I have read about SMS alerting here. I think, from a reliability point of view, this kind of alerting, is not stable enough. Your designs are based on sending an eMail to an SMS sending system. A simple question: How do you get alerts for your eMail system? We have implemented this functionality with a simple modem attached to the Hobbit system and we dial the SMS provider directly. I think, that this is a more reliable solution, if you want to do SMS Alerting. Another option is to give the important guys Blackberry or similar devices and let them read the alert via eMail. Advantage: they can access internal hobbit systems directly and confirm alerts... As I said... just some thoughts... mit freundlichen Grüßen - Best regards Hälsningar - Met vriendelijke groeten Sincères salutations Oliver Grube EU Security&Controls Manager [image: Inactive hide details for "Benjamin P. August" <user-e992dd5eb2a5@xymon.invalid>]"Benjamin P. August" <user-e992dd5eb2a5@xymon.invalid> *"Benjamin P. August" <user-e992dd5eb2a5@xymon.invalid>* 2008-04-11 17:44 Please respond to user-ae9b8668bcde@xymon.invalid To user-ae9b8668bcde@xymon.invalid cc Subject RE: [hobbit] sms alert sample script 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<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.Canyou 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<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 SpencerCampbell's Germany GmbH Registergericht Luebeck • Reg. Nr. HRB 4082 Geschaeftsfuehrer: Joseph B. Folds III Geschaeftssitz: Geniner Strasse 88 - 100 23560 Luebeck Deutschland ********************************************************************** This e-mail and any files transmitted with it may contain confidential information and is intended solely for use by the individual to whom it is addressed. If you received this e-mail in error, please notify the sender, do not disclose its contents to others and delete it from your system. **********************************************************************
--
Tel: XXXX XXX XXX
Fax: XXXX XXX XXX
email: user-e365c1418192@xymon.invalid
list Josh Luthman
There are only two and a half of us getting alerts. The first is a simple email to members of support. Not very exciting. Then the two of us that need to be on top of things have Blackberries (or Blackberrys - not sure since it's a pronoun). We both check the mobile view from time to time and of course get the email alerts, but we also send an email to txt.att.comfor any major issues (server related, backbone related - none of those customer outages that happen every day). I can't say I have ever had a problem with this, but along side that I can't say I get major outage SMS emails too often. Josh
▸
On Fri, Apr 11, 2008 at 12:26 PM, Phil Wild <user-e365c1418192@xymon.invalid> wrote:
Hi Oliver, Whoops! , I just reread your message and understand your comment better now - when I first read it I didn't realise you were making comment on a solution where someone was emailing an sms through a mail gateway rather than an direct sms based soln. Sorry Phil 2008/4/12 Phil Wild <user-e365c1418192@xymon.invalid>: Hi Oliver,Have a good read of the man pages around hobbit-alert. You do not need to involve email when sending messages at all and probably the most reliable method is with an attached GSM modem. It is much faster than analogue dialing a messaging provider. We use two gsm modems attached to two independent hobbit servers in two data centres connected to two different mobile providers. We have hobbit monitoring the messaging queues and have failover in place, if a message fails to get out via one provider after a number of retries, it is transferred to the other server. We have also planned to set up a ping test via sms where one modem sms's the other but it has fallen off the bottom of our todo list as the current configuration has proven to be very stable... It would be nice though if the modem hardware was more stable, regular restarts when they hang (wavenet modems). Can't say other brands are better and the monitoring and scripting has made them reliable enough so that we don't need to replace them and start again... Your carrier may also be able to provide a status message feature where you receive back an sms once your message has entered the recipients phone (extra messaging cost and no guarantee they will read it of course but then that is what escalation is for). I am sure it would be possible to script a confirmation check and retry on the other network if you really wanted to guarantee the message got to the phone... Cheers Phil 2008/4/11 Oliver Grube <user-f10fe95e937b@xymon.invalid>: Hello,this is just my opinion and something to thought about... I have read about SMS alerting here. I think, from a reliability point of view, this kind of alerting, is not stable enough. Your designs are based on sending an eMail to an SMS sending system. A simple question: How do you get alerts for your eMail system? We have implemented this functionality with a simple modem attached to the Hobbit system and we dial the SMS provider directly. I think, that this is a more reliable solution, if you want to do SMS Alerting. Another option is to give the important guys Blackberry or similar devices and let them read the alert via eMail. Advantage: they can access internal hobbit systems directly and confirm alerts... As I said... just some thoughts... mit freundlichen Grüßen - Best regards Hälsningar - Met vriendelijke groeten Sincères salutations Oliver Grube EU Security&Controls Manager [image: Inactive hide details for "Benjamin P. August" <user-e992dd5eb2a5@xymon.invalid>]"Benjamin P. August" <user-e992dd5eb2a5@xymon.invalid> *"Benjamin P. August" <user-e992dd5eb2a5@xymon.invalid>* 2008-04-11 17:44 Please respond to user-ae9b8668bcde@xymon.invalid To user-ae9b8668bcde@xymon.invalid cc Subject RE: [hobbit] sms alert sample script 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<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.Canyou 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<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>15mREPEAT=60RECOVERED 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 SpencerCampbell's Germany GmbH Registergericht Luebeck • Reg. Nr. HRB 4082 Geschaeftsfuehrer: Joseph B. Folds III Geschaeftssitz: Geniner Strasse 88 - 100 23560 Luebeck Deutschland ********************************************************************** This e-mail and any files transmitted with it may contain confidential information and is intended solely for use by the individual to whom it is addressed. If you received this e-mail in error, please notify the sender, do not disclose its contents to others and delete it from your system. **********************************************************************-- Tel: XXXX XXX XXX Fax: XXXX XXX XXX email: user-e365c1418192@xymon.invalid
-- 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
list Ralph Mitchell
▸
On Fri, Apr 11, 2008 at 11:26 AM, Phil Wild <user-e365c1418192@xymon.invalid> wrote:
Hi Oliver, Whoops! , I just reread your message and understand your comment better now - when I first read it I didn't realise you were making comment on a solution where someone was emailing an sms through a mail gateway rather than an direct sms based soln.
I think your comments are still valid - sending SMS directly from your Hobbit server would work even if your building services were completely cut off, provided the machine had at least a couple of minutes runtime on a UPS. I'm thinking about rolling my own home alarm system, and if I can work it into the budget for it I may include one of these bad boys: http://www.gm862.com/en/products/gsm-gprs.php?p_id=12&p_ac=show&p=4 I can add another phone to my family plan for $10/mo and not have to rely on the phone/DSL to get alerts out. Ralph Mitchell
list Gary Baluha
The smsplus script sends SMS-style alerts via email. Yes, this isn't the most reliable system (e.g. what if the email system isn't working), but for us it works. We have Hobbit paging the oncall people, but we also have an operations group that monitors the Hobbit webpage 24x7. In the event that our email system has failed, we will eventually get called by the operations group, and so the method we are using is fail-safe. There shouldn't be any reason why the smsplus script couldn't be modified to make use of an attached modem, instead of email. In fact, those without some sort of fail-safe system _should_ modify the script as appropriate (unless of course it isn't that critical of an issue).
▸
On Fri, Apr 11, 2008 at 12:26 PM, Phil Wild <user-e365c1418192@xymon.invalid> wrote:
Hi Oliver, Whoops! , I just reread your message and understand your comment better now - when I first read it I didn't realise you were making comment on a solution where someone was emailing an sms through a mail gateway rather than an direct sms based soln. Sorry Phil 2008/4/12 Phil Wild <user-e365c1418192@xymon.invalid>: Hi Oliver,Have a good read of the man pages around hobbit-alert. You do not need to involve email when sending messages at all and probably the most reliable method is with an attached GSM modem. It is much faster than analogue dialing a messaging provider. We use two gsm modems attached to two independent hobbit servers in two data centres connected to two different mobile providers. We have hobbit monitoring the messaging queues and have failover in place, if a message fails to get out via one provider after a number of retries, it is transferred to the other server. We have also planned to set up a ping test via sms where one modem sms's the other but it has fallen off the bottom of our todo list as the current configuration has proven to be very stable... It would be nice though if the modem hardware was more stable, regular restarts when they hang (wavenet modems). Can't say other brands are better and the monitoring and scripting has made them reliable enough so that we don't need to replace them and start again... Your carrier may also be able to provide a status message feature where you receive back an sms once your message has entered the recipients phone (extra messaging cost and no guarantee they will read it of course but then that is what escalation is for). I am sure it would be possible to script a confirmation check and retry on the other network if you really wanted to guarantee the message got to the phone... Cheers Phil 2008/4/11 Oliver Grube <user-f10fe95e937b@xymon.invalid>: Hello,this is just my opinion and something to thought about... I have read about SMS alerting here. I think, from a reliability point of view, this kind of alerting, is not stable enough. Your designs are based on sending an eMail to an SMS sending system. A simple question: How do you get alerts for your eMail system? We have implemented this functionality with a simple modem attached to the Hobbit system and we dial the SMS provider directly. I think, that this is a more reliable solution, if you want to do SMS Alerting. Another option is to give the important guys Blackberry or similar devices and let them read the alert via eMail. Advantage: they can access internal hobbit systems directly and confirm alerts... As I said... just some thoughts... mit freundlichen Grüßen - Best regards Hälsningar - Met vriendelijke groeten Sincères salutations Oliver Grube EU Security&Controls Manager [image: Inactive hide details for "Benjamin P. August" <user-e992dd5eb2a5@xymon.invalid>]"Benjamin P. August" <user-e992dd5eb2a5@xymon.invalid> *"Benjamin P. August" <user-e992dd5eb2a5@xymon.invalid>* 2008-04-11 17:44 Please respond to user-ae9b8668bcde@xymon.invalid To user-ae9b8668bcde@xymon.invalid cc Subject RE: [hobbit] sms alert sample script 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<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.Canyou 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<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>15mREPEAT=60RECOVERED 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 SpencerCampbell's Germany GmbH Registergericht Luebeck • Reg. Nr. HRB 4082 Geschaeftsfuehrer: Joseph B. Folds III Geschaeftssitz: Geniner Strasse 88 - 100 23560 Luebeck Deutschland ********************************************************************** This e-mail and any files transmitted with it may contain confidential information and is intended solely for use by the individual to whom it is addressed. If you received this e-mail in error, please notify the sender, do not disclose its contents to others and delete it from your system. **********************************************************************-- Tel: XXXX XXX XXX Fax: XXXX XXX XXX email: user-e365c1418192@xymon.invalid
list Oliver Grube
Hi all, nice to read your opinions here. I just raised some thoughts about sending perhaps critical alerts via eMail to an external SMS provider... ;-) Phil, you are totally right... Now, when you say this, I remember, that we also have reached the age of GSM Modems and no longer relay on the analogue ones... I have setup this kind of redundant alerting (like you describe) for a big Datacenter (with the slow BigBrother) in y2k and at this time, the analogue/ISDN modems were the best choice. I also agree to all the arguments raised by all others commenting my eMail. Sending SMS via eMail might be sufficient enough. My intention was only to show, that there are reasons why this should not be accepted as a reliable alerting path. And, of course, even GSM Networks could fail...
▸
mit freundlichen Grüßen - Best regards
Hälsningar - Met vriendelijke groeten
Sincères salutations
Oliver Grube
EU Security&Controls Manager
"Phil Wild"
<philwild at gmail.c
om> To
user-ae9b8668bcde@xymon.invalid
2008-04-11 18:26 cc
Subject
Please respond to Re: [hobbit] sms alert sample
user-ae9b8668bcde@xymon.invalid script - good solution?
▸
Hi Oliver,
Whoops! , I just reread your message and understand your comment better now
- when I first read it I didn't realise you were making comment on a
solution where someone was emailing an sms through a mail gateway rather
than an direct sms based soln.
Sorry
Phil
2008/4/12 Phil Wild <user-e365c1418192@xymon.invalid>:
Hi Oliver,
Have a good read of the man pages around hobbit-alert. You do not
need to involve email when sending messages at all and probably the
most reliable method is with an attached GSM modem. It is much faster
than analogue dialing a messaging provider.
We use two gsm modems attached to two independent hobbit servers in
two data centres connected to two different mobile providers. We have
hobbit monitoring the messaging queues and have failover in place, if
a message fails to get out via one provider after a number of
retries, it is transferred to the other server.
We have also planned to set up a ping test via sms where one modem
sms's the other but it has fallen off the bottom of our todo list as
the current configuration has proven to be very stable...
It would be nice though if the modem hardware was more stable,
regular restarts when they hang (wavenet modems). Can't say other
brands are better and the monitoring and scripting has made them
reliable enough so that we don't need to replace them and start
again...
Your carrier may also be able to provide a status message feature
where you receive back an sms once your message has entered the
recipients phone (extra messaging cost and no guarantee they will
read it of course but then that is what escalation is for). I am sure
it would be possible to script a confirmation check and retry on the
other network if you really wanted to guarantee the message got to
the phone...
Cheers
Phil
2008/4/11 Oliver Grube <user-f10fe95e937b@xymon.invalid>:
Hello,
this is just my opinion and something to thought about...
I have read about SMS alerting here. I think, from a
reliability point of view, this kind of alerting, is not stable
enough.
Your designs are based on sending an eMail to an SMS sending
system.
A simple question: How do you get alerts for your eMail system?
We have implemented this functionality with a simple modem
attached to the Hobbit system and we dial the SMS provider
directly.
I think, that this is a more reliable solution, if you want to
do SMS Alerting.
Another option is to give the important guys Blackberry or
similar devices and let them read the alert via eMail.
Advantage: they can access internal hobbit systems directly and
confirm alerts...
As I said... just some thoughts...
mit freundlichen Grüßen - Best regards
Hälsningar - Met vriendelijke groeten
Sincères salutations
Oliver Grube
EU Security&Controls Manager
Inactive hide details for "Benjamin P. August"
<user-e992dd5eb2a5@xymon.invalid>"Benjamin P. August" <
user-e992dd5eb2a5@xymon.invalid>
--
Tel: XXXX XXX XXX
Fax: XXXX XXX XXX
email: user-e365c1418192@xymon.invalid
Campbells Germany GmbH
Registergericht Luebeck Reg. Nr. HRB 4082
Geschaeftsfuehrer: Joseph B. Folds III
Geschaeftssitz:
Geniner Strasse 88 - 100
23560 Luebeck
Deutschland
**********************************************************************
This e-mail and any files transmitted with it may contain
confidential information and is intended solely for use by
the individual to whom it is addressed. If you received
this e-mail in error, please notify the sender, do not
disclose its contents to others and delete it from your
system.
**********************************************************************