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
Are you seeing that it even tried to execute your sendsms script in the notifications.log?
....Bruce
Bruce White Senior Enterprise Systems Engineer | Phone: 630-671-5169 | Fax: 630-893-1648 | bewhite at fellowes.com | 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:lars at baad-jensen.dk] Sent: Friday, January 22, 2010 5:12 AM To: hobbit at hswn.dk 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
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
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.
participants (3)
-
bewhite@fellowes.com
-
lars@baad-jensen.dk
-
malcolm.hunter@gmx.co.uk