Hello,
Last week I installed the latest version of zabbix in an virtual machine with Centos.
I installed this, through the repo of zabbix.
Everything goes well, except an alertscript that I tried to install.
This script use the clickatell code to send me a message. I already implemented the script and if I run that through the linux command line, it's work fine.
But, when the zabbix try to run the script, an error is saved on zabbix file logs. the erro is:
15739:20150710:142653.870 cli_sms_clickatell.php output:
sh: /usr/lib/zabbix/alertscripts/cli_sms_clickatell.php: /usr/bin/php: bad interpreter: Permission denied
Although this, in zabbix, the message appear to be sent.
Somebody can help me with this?
Thank you.
Last week I installed the latest version of zabbix in an virtual machine with Centos.
I installed this, through the repo of zabbix.
Everything goes well, except an alertscript that I tried to install.
This script use the clickatell code to send me a message. I already implemented the script and if I run that through the linux command line, it's work fine.
But, when the zabbix try to run the script, an error is saved on zabbix file logs. the erro is:
15739:20150710:142653.870 cli_sms_clickatell.php output:
sh: /usr/lib/zabbix/alertscripts/cli_sms_clickatell.php: /usr/bin/php: bad interpreter: Permission denied
Although this, in zabbix, the message appear to be sent.
Somebody can help me with this?
Thank you.
Comment