Hello, I am just starting to configure actions on a brand new Zabbix installation.
I have a really simple set for testing but is not working, I don't know what I am doing bad:
My scenario is:
1. Template ICMP, which only pings the host each 30 seconds (is for testing).
2. Host "Blade" assigned to that template, so it is being pinged.... Of course it is Active and monitored.
3. Trigger "Test" which is {CH44 Blade 1:icmpping.last(0)}=0 -- Event generation = Normal and SEverity Disaster. It is NOT disabled.
4. media type: Type: Script, Desc: KK, Script name: 'kk'.
4.a. The script is /home/zabbix/bin/kk which only makes an echo "hello" >> log.txt, and it is working with user zabbix from the console.
4.b. Permissions for that path are 755 owner user zabbix group zabbix.
5. User with media as in the screenshot:

6. AlertScriptsPath=/home/zabbix/bin in the zabbix_server.conf
7. the action is really simple:

But nothing is executed. The trigger is raised and an event is created with severity disaster, status problem, etc.... But no actions are being executed.
Any idea? Thanks in advance
I have a really simple set for testing but is not working, I don't know what I am doing bad:
My scenario is:
1. Template ICMP, which only pings the host each 30 seconds (is for testing).
2. Host "Blade" assigned to that template, so it is being pinged.... Of course it is Active and monitored.
3. Trigger "Test" which is {CH44 Blade 1:icmpping.last(0)}=0 -- Event generation = Normal and SEverity Disaster. It is NOT disabled.
4. media type: Type: Script, Desc: KK, Script name: 'kk'.
4.a. The script is /home/zabbix/bin/kk which only makes an echo "hello" >> log.txt, and it is working with user zabbix from the console.
4.b. Permissions for that path are 755 owner user zabbix group zabbix.
5. User with media as in the screenshot:
6. AlertScriptsPath=/home/zabbix/bin in the zabbix_server.conf
7. the action is really simple:
But nothing is executed. The trigger is raised and an event is created with severity disaster, status problem, etc.... But no actions are being executed.
Any idea? Thanks in advance

Comment