SMS not sending
list Lars Baad-Jensen
Hi I'm trying to get Hobbit 4.3 to send me a test sms. I run the following script, to send a sms ./bin/bbcmd hobbitd_alert --test cpu but i newer recieve a sms. If i run sendsms 45xxxxxxxx test i get a sms. I have set all the log directories to hobbit:hobbit and sendsms is also owned by hobbit:hobbit there is no queue in /usr/share/sms/outgoing What am i doing wrong. Thanks in advance Lars Denmark
list Malcolm Hunter
▸
I'm trying to get Hobbit 4.3 to send me a test sms. I run the following script, to send a sms ./bin/bbcmd hobbitd_alert --test cpu but i newer recieve a sms. If i run sendsms 45xxxxxxxx test i get a sms. I have set all the log directories to hobbit:hobbit and sendsms is also owned by hobbit:hobbit there is no queue in /usr/share/sms/outgoing What am i doing wrong.
What have you got in hobbit-alerts.cfg for the SMS script? Regards, Malcolm -- Technical copy-editor & proofreader KDE Proofreading Team KDE British English Translation Team http://l10n.kde.org/team-infos.php?teamcode=en_GB Facebook: http://www.facebook.com/FriendlyAtheist Preisknaller: GMX DSL Flatrate für nur 16,99 Euro/mtl.! http://portal.gmx.net/de/go/dsl02
list Lars Baad-Jensen
Hi Malcolm Her's what in my hobbit-alert.cfg HOST=HOST SERVICE=cpu,disk,memory,http SCRIPT /usr/local/bin/sendsms 45xxxxxxxx REPEAT=15m TIME=*:0800:2200 FORMAT=sms I have also made a smsalert.sh: #!/bin/sh /usr/local/bin/sendsms $RCPT "$BBALPHAMSG" Which I cannot send from. Regards Lars Baad-Jensen
list Bruce White
Are you seeing that it even tried to execute your sendsms script in the
notifications.log?
....Bruce
Bruce White
Senior Enterprise Systems Engineer | Phone: XXX-XXX-XXXX | Fax: XXX-XXX-XXXX | user-58f975e8bf9d@xymon.invalid | http://www.fellowes.com/
Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Fellowes, Inc.
▸
From: Lars Baad-Jensen [mailto:user-558c797b3988@xymon.invalid]
Sent: Friday, January 22, 2010 5:12 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] SMS not sending
Hi Malcolm
Her's what in my hobbit-alert.cfg
HOST=HOST SERVICE=cpu,disk,memory,http
SCRIPT /usr/local/bin/sendsms 45xxxxxxxx REPEAT=15m TIME=*:0800:2200
FORMAT=sms
I have also made a smsalert.sh:
#!/bin/sh
/usr/local/bin/sendsms $RCPT "$BBALPHAMSG"
Which I cannot send from.
Regards
Lars Baad-Jensen
list Malcolm Hunter
Hi Lars,
▸
Her's what in my hobbit-alert.cfg HOST=HOST SERVICE=cpu,disk,memory,http SCRIPT /usr/local/bin/sendsms 45xxxxxxxx REPEAT=15m TIME=*:0800:2200 FORMAT=sms I have also made a smsalert.sh: #!/bin/sh /usr/local/bin/sendsms $RCPT "$BBALPHAMSG" Which I cannot send from.
Your hobbit-alert.cfg config is wrong. Try: HOST=HOST SERVICE=cpu,disk,memory,http TIME=*:0800:2200 SCRIPT /usr/local/bin/sendsms 45xxxxxxxx REPEAT=15m FORMAT=sms
▸
Malcolm -- Technical copy-editor & proofreader KDE Proofreading Team KDE British English Translation Team http://l10n.kde.org/team-infos.php?teamcode=en_GB Facebook: http://www.facebook.com/FriendlyAtheist
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 - sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser
list Lars Baad-Jensen
Hi Bruce Where can i find the notification.log? I looked in tmp, but it was'nt there. Regards Lars
list Lars Baad-Jensen
Hi Malcolm Sad to say. It did'nt work. Do you have any other ideas? Regards Lars
list Malcolm Hunter
▸
Your hobbit-alert.cfg config is wrong. Try: HOST=HOST SERVICE=cpu,disk,memory,http TIME=*:0800:2200 SCRIPT /usr/local/bin/sendsms 45xxxxxxxx REPEAT=15m FORMAT=sms
Dumb question, but you are putting HOST=xxxx where xxxx is the hostname of the server, right? You could also try: HOST=* SCRIPT /usr/local/bin/sendsms 45xxxxxxxx REPEAT=15m FORMAT=sms Also, is sendsms executable?
▸
Malcolm -- Technical copy-editor & proofreader KDE Proofreading Team KDE British English Translation Team http://l10n.kde.org/team-infos.php?teamcode=en_GB Facebook: http://www.facebook.com/FriendlyAtheist
Haiti-Nothilfe! Helfen Sie per SMS: Sende UIHAITI an die Nummer 81190.
Von 5 Euro je SMS (zzgl. SMS-Gebühr) gehen 4,83 Euro an UNICEF.
list Bruce White
All hobbit logs are found at <hobbit install directory>/log, unless of course you made changes to the default directories during the install process.
▸
.......Bruce Bruce White Senior Enterprise Systems Engineer | Phone: XXX-XXX-XXXX | Fax: XXX-XXX-XXXX | user-58f975e8bf9d@xymon.invalid | http://www.fellowes.com/ Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Fellowes, Inc.
▸
From: Lars Baad-Jensen [mailto:user-558c797b3988@xymon.invalid]
Sent: Friday, January 22, 2010 6:34 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] SMS not sending
Hi Bruce
Where can i find the notification.log?
I looked in tmp, but it was'nt there.
Regards
Lars
list Malcolm Hunter
▸
Where can i find the notification.log? I looked in tmp, but it was'nt there.
/var/log/xymon Also page.log is where to look for script errors.
▸
Malcolm -- Technical copy-editor & proofreader KDE Proofreading Team KDE British English Translation Team http://l10n.kde.org/team-infos.php?teamcode=en_GB Facebook: http://www.facebook.com/FriendlyAtheist Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 - sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser