The wiki SMS script:
http://www.zabbix.com/wiki/howto/config/alerts/smsapi
Hi All,
I am using this script with "clickatell" gateway service. (cli_sms_clickatell.php) The script is work fine. In some time, the zabbix message will longer than standard SMS length (One text SMS will be sent for every 160 characters or 140 bytes. ). We will get an error by the message length is too long.
The official option "concat" can be set and define how many message can be send in 1 action. So, I have add "concat" into line 71 of this script.(after the line "from"=>$from,) (official recommended length is 3.)
For the details, we can refer to "http://cdn.clickatell.com/downloads/http/Clickatell_HTTP.pdf"
example:
"concat" => '3',
http://www.zabbix.com/wiki/howto/config/alerts/smsapi
Hi All,
I am using this script with "clickatell" gateway service. (cli_sms_clickatell.php) The script is work fine. In some time, the zabbix message will longer than standard SMS length (One text SMS will be sent for every 160 characters or 140 bytes. ). We will get an error by the message length is too long.
The official option "concat" can be set and define how many message can be send in 1 action. So, I have add "concat" into line 71 of this script.(after the line "from"=>$from,) (official recommended length is 3.)
For the details, we can refer to "http://cdn.clickatell.com/downloads/http/Clickatell_HTTP.pdf"
example:
"concat" => '3',