[ZBX-16983] Alertscript isn't executed in zabbix 4.4 Created: 2019 Nov 25 Updated: 2020 Mar 27 Resolved: 2020 Mar 27 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 4.4.0 |
Fix Version/s: | None |
Type: | Problem report | Priority: | Trivial |
Reporter: | adminAthome | Assignee: | Aleksejs Petrovs |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Docker 19.03.3 |
Description |
I have created a media type script to set up SMS alerts using the mailjet API but it is never executed. The script is in the AlertScripts path If I try to run it in CLI, it works (in root or zabbix user). This also works with the test action on the media type. But when an event alert is created for a host group specified in the conditions of the action that calls the script, nothing happens. I tested to create a simple script creating a file in case of call but the situation is same. |
Comments |
Comment by Aleksejs Petrovs [ 2019 Nov 27 ] |
Hello, Scripts might be ignored because of the user, that is made to run a script has no permissions on the affected hosts group. Please verify your permissions and try again. Regards, |