Xymon Mailing List Archive search

Gnokii and Hobbit

list Michael Magua
Sun, 20 Aug 2006 22:29:05 +0200
Message-Id: <user-5cf241ff95ce@xymon.invalid>

On 8/20/06, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:
On Sun, Aug 20, 2006 at 09:36:35PM +0200, Michael Magua wrote:
I have no clue why this still isn't working!

Now in hobbit-alerts.cfg I have:

SCRIPT /usr/local/bin/smsalert FORMAT=SMS
You're still missing a recipient.

SCRIPT /usr/local/bin/smsalert 012345678 FORMAT=SMS
Where 012345678 is my cellnumber. Permissions are fine because user
hobbit can send an sms via the command line by doing `echo "hello" |
gnokii --sendsms 012345678`. I then get an sms.
What's in the page.log file ?


Regards,
Henrik
Yum recipient is missing as I have it in /usr/local/bin/smsalert:
#!/bin/bash
echo "${BBALPHAMSG:0:160}" | gnokii --sendsms 012345678

I couldn't find logs. I don't have the page.log as you suggested.