[hobbit] problems with sms script
Tim McCloskey
devzero at cox.net
Mon Jun 16 07:49:46 CEST 2008
Try with the full path to 'gammu'. (the running hobbit env on your sys may be different than your shell).
I use the same method but not with true SMS, I just use mail.
example below.
page-primary.sh
/bin/mail -s "$BBSVCNAME $BBHOSTNAME $MACHIP $CFID" mycellphone at myprovider.tld < /dev/null
hobbit-alerts.cfg
GROUP=linux,web SERVICE=*
SCRIPT /path/to/page-primary.sh FORMAT=sms COLOR=red
Jarrod Hodder wrote:
> echo "test" | gammu --sendsms TEXT <Phone Number here>
More information about the Xymon
mailing list