Script must be into the Alert Script folder path. Default value is:

/etc/zabbix/alert.d

Let’s create our test.php file with execution permissions:

chmod a+x test.php

File must start with these lines:

#!/usr/bin/php

In Zabbix web interface make sure you set these values:

Di paolo