[hobbit] Gnokii and Hobbit

Michael Magua m.magua at gmail.com
Sun Aug 20 22:29:05 CEST 2006


On 8/20/06, Henrik Stoerner <henrik at hswn.dk> 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.



More information about the Xymon mailing list