Ad Widget

Collapse

Zabbix v2.4.5

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Martinho Novais
    Junior Member
    • Jul 2015
    • 2

    #1

    Zabbix v2.4.5

    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.
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    Are you installed package "php-cli"?

    And, If you are enable SELinux, please check SELinux setting.
    Last edited by Atsushi; 14-07-2015, 05:48.

    Comment

    • Martinho Novais
      Junior Member
      • Jul 2015
      • 2

      #3
      Thank you for your replay.
      setenforce 0 resolve my problem.

      Comment

      Working...