Marcin
Marcin

Reputation: 1203

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.

Upvotes: 0

Views: 720

Answers (1)

KrishnaR
KrishnaR

Reputation: 430

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

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

Upvotes: 1

Related Questions