See: http://www.hswn.dk/hobbit/help/hobbit-alerts.html#scripts
Write a tiny wrapper script which is a valid argument for the
SCRIPT-option. Number is an argument for the wrapper script. So the
correct syntax would be:
SCRIPT /home/hobbit/bin/sendsms number FORMAT=SMS
and the script /home/hobbit/bin/sendsms should contain your pager stuff.
Regards Peter
2005/8/20, Ger Maguire <user-1e703f47b22b@xymon.invalid>:
Hi, Can I get some assistance with configuring the format of the
SCRIPT command for hobbit-alerts ?
I have a script that sends an sms message with the following syntax
/ext/sms/sms.pl -c /ext/sms/send -m "Sms message here" number
I have tried this but it doesn't work,
SCRIPT /ext/sms/sms.pl -c /ext/sms/send -m "FORMAT=SMS" number
any ideas ?