I have created a script on zabbix GUI (zb1) and created a trigger action that use Alarm script for a host now when my trigger fire on the host action status failed and show
Also this is my script permission :
[root@Zabbix ~]# ll -hrt /usr/lib/zabbix/alertscripts/alarm.sh
-rwxr-xr-x 1 root root 78 Jun 11 15:48 /usr/lib/zabbix/alertscripts/alarm.sh
but while we run script manually it is working
/usr/bin/sudo -u zabbix /usr/lib/zabbix/alertscripts/alarm.sh
Comment