[ZBX-19702] Frontend status of Action Script type Webhook is always failed Created: 2021 Jul 19 Updated: 2021 Sep 16 |
|
Status: | Confirmed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 5.4.1, 5.4.2 |
Fix Version/s: | None |
Type: | Problem report | Priority: | Trivial |
Reporter: | Alois Zadrazil | Assignee: | Zabbix Development Team |
Resolution: | Unresolved | Votes: | 2 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Debian, Centos |
Attachments: |
![]() ![]() |
Description |
Steps to reproduce:
Result: Script is executed, but in frontend there is status failed with error: cannot execute script: (null) Expected: 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. |
Comments |
Comment by Alois Zadrazil [ 2021 Jul 19 ] |
Yes, You are right. With increased log level for escalator process, status of script is executed. |
Comment by Hans Baum [ 2021 Sep 16 ] |
Same problem here. I tried returning OK and "JSON.stringify({'tags': {}})" but it didn't work. Only action operation scripts seem to be affected. When I clone the script as a "manual event action" script and execute that it works (green success message). |