January 2019
Intermediate to advanced
798 pages
20h 33m
English
The approach we used allows us to send one value every time we run zabbix_sender. If we had a script that returned a large number of values, that would be highly inefficient. We can also send multiple values from a file with zabbix_sender. Create a file like this anywhere, for example, in /tmp/:
"A test host" room.persons 4 "A test host" room.persons 5 "A test host" room.persons 6
Each line contains the hostname, item key, and value. This means that any number of hosts and keys can be supplied from a single file.
The flag for supplying the file is -i. Assuming a filename of sender_input.txt, we can ...
Read now
Unlock full access