How to get exit code in zabbbix using system.run

209 views Asked by At

I'm facing a little simple problem that is get the exit code of a script using Zabbix system.run.

zabbix_get -s hostname -k system.run["hostname"]

How can I get an exit code of this command? Thanks in advance.

0

There are 0 answers