I have the strange-looking problem at hand. Here is the descrition:
1. Specified AlertScriptsPath=/usr/local/zabbix/alerts in server config. Ownership and permissions for script and directory are OK (zabbix can execute)
2. Created script named big_problem and put it in that directory
3. Created media "Big problem"/Script/big_problem
4. Add media to a user.
5. Created action: "If trigger value = PROBLEM" and (trigger1 or trigger2 or trigger3 ...) send e-mail to user and to the specific media.
6. Then I trigger one of the triggers and expecting to see script executed. No it does not. In the audit log I see status "Sent" for that specific media, but actual script has not been called.
How to troubleshoot ? What did I missed ? Thank you in advance.
1. Specified AlertScriptsPath=/usr/local/zabbix/alerts in server config. Ownership and permissions for script and directory are OK (zabbix can execute)
2. Created script named big_problem and put it in that directory
3. Created media "Big problem"/Script/big_problem
4. Add media to a user.
5. Created action: "If trigger value = PROBLEM" and (trigger1 or trigger2 or trigger3 ...) send e-mail to user and to the specific media.
6. Then I trigger one of the triggers and expecting to see script executed. No it does not. In the audit log I see status "Sent" for that specific media, but actual script has not been called.
How to troubleshoot ? What did I missed ? Thank you in advance.