Xymon Mailing List Archive search

SMS not sending

10 messages in this thread

list Lars Baad-Jensen · Fri, 15 Jan 2010 12:21:23 +0100 ·
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 · Fri, 15 Jan 2010 12:56:51 +0100 ·
quoted from Lars Baad-Jensen
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 · Fri, 22 Jan 2010 12:11:35 +0100 ·
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 · Fri, 22 Jan 2010 16:17:37 -0600 ·
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.
quoted from Lars Baad-Jensen
 

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 · Fri, 22 Jan 2010 23:35:47 +0100 ·
Hi Lars,
quoted from Bruce White
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
quoted from Malcolm Hunter


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 · Sat, 23 Jan 2010 01:33:30 +0100 ·
Hi Bruce

Where can i find the notification.log?

I looked in tmp, but it was'nt there.

Regards 
Lars
list Lars Baad-Jensen · Sat, 23 Jan 2010 01:35:48 +0100 ·
Hi Malcolm

Sad to say. It did'nt work.

Do you have any other ideas?

Regards
Lars
list Malcolm Hunter · Sat, 23 Jan 2010 11:11:09 +0100 ·
quoted from 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?
quoted from Malcolm Hunter

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 · Sun, 24 Jan 2010 15:17:35 -0600 ·
All hobbit logs are found at <hobbit install directory>/log, unless of
course you made changes to the default directories during the install
process.
signature
 
       .......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.
 

quoted from Lars Baad-Jensen
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 · Mon, 25 Jan 2010 00:37:13 +0100 ·
quoted from Bruce White
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.
quoted from Malcolm Hunter

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