F
F
fogersp2016-04-05 16:59:53
System administration
fogersp, 2016-04-05 16:59:53

Zabbix: External check. How to pass an array with values ​​from a script to Zabbix?

Good day!
I collect information from the device using External check, since it does not give the necessary information via snmp.
Since you need to take values ​​5-7, it somehow annoys that every time zabbix will initiate a script with ssh login and command execution.
I didn’t find how to do it, for example, what if my script returns an array with values, how to transfer it to Zabbix and only then process it for different Item's? Or how to do it right here to get by with one script?
Let me know if anyone has experience. With one return value, everything is fine.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
neol, 2016-04-05
@fogersp

As an option, in the script, pull zabbix_sender, which will already push a bunch of values ​​\u200b\u200bto the server (you can transfer a file with a list to it).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question