Ok,
I've come very far with Zabbix at this moment, and we are planning to move from Nagios to Zabbix.
This leaves one point to be fixed at the moment, and that is sending SMS.
I work with TrueSenses. They have a perfect cURL (HTTPS) interface, which just works.
With cURL I've made the following script:
/home/zabbix/bin/sms/sendsms.sh:
===
#!/bin/sh
curl -d "ACCOUNT=DEV&PASSWORD=NO&NUMBER=00316&MESSAGE=$1&O RIGIN=DiedX.NL&CMD=SENDMESSAGE" https://secure.simmcomm.ch/cgi-bin/smsgateway.cgi
===
This works with 1 variable: text.
However, the logfiles show the error allready:
===
011578:20041008:190825 Error executing [/home/zabbix/bin///home/zabbix/bin/sms/s
endsms.sh test] []
===
The config has the following line:
/home/zabbix/bin/sms/sendsms.sh test
aargh!
What to do?!
I've come very far with Zabbix at this moment, and we are planning to move from Nagios to Zabbix.
This leaves one point to be fixed at the moment, and that is sending SMS.
I work with TrueSenses. They have a perfect cURL (HTTPS) interface, which just works.
With cURL I've made the following script:
/home/zabbix/bin/sms/sendsms.sh:
===
#!/bin/sh
curl -d "ACCOUNT=DEV&PASSWORD=NO&NUMBER=00316&MESSAGE=$1&O RIGIN=DiedX.NL&CMD=SENDMESSAGE" https://secure.simmcomm.ch/cgi-bin/smsgateway.cgi
===
This works with 1 variable: text.
However, the logfiles show the error allready:
===
011578:20041008:190825 Error executing [/home/zabbix/bin///home/zabbix/bin/sms/s
endsms.sh test] []
===
The config has the following line:
/home/zabbix/bin/sms/sendsms.sh test
aargh!
What to do?!

Comment