Steps to reproduce:
- Create Global script with scope Action operation, Type Webhook, with only one line " return 'OK';"
- Create Action to run that script
- Create test trigger to start that Action
Script is executed, but in frontend there is status failed with error: cannot execute script: (null)
Status have to be success.
See attached screenshots...
In real scenario I am using real script which works as expected, but frontend result is always failed. Maybe I have to return some other text or result code, but I tried many and never succeeded. I did not find solution anywhere in Zabbix documentation.