'Zabbix action debugging

Is there any way to debug zabbix (4.0) custom script? In action log I see only "timeout" message but I would like to see exactly what went wrong. I do not have access to zabbix log.



Solution 1:[1]

Try Zabbix.Log it is like console.log in javascript. Example:

Zabbix.Log(4, '[ Custom Script Log ] Log Initiated.. ');

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 KrishnaR