-
Problem report
-
Resolution: Unresolved
-
Trivial
-
None
-
5.4.7
-
None
-
Tested on two separate environments (and few diffrent scripts).
First:
Ubuntu docker appliance with MySQL database
Second:
OS: CentOS 8
WWW: apache
Database: MySQL
Steps to reproduce:
- Create simple item with trigger
- Create webhook type action operation (Administration > Scripts > Create script) with simple Java script script e.g:
try { var params = JSON.parse(value); params.test_param_test = "_" + params.test_param; Zabbix.log(3, JSON.stringify(params)); } catch (error) { Zabbix.log(3, error); } Zabbix.log(3, "End of Script");
- Create action in Configuration > Actions and link created before trigger
- Wait for a problem
Result:
See screenshot name "Error.jpg"
Action log result is failed - "cannot execute script (null)", but it's executed properly
Expected:
Action log should be "Successful"