January 2019
Intermediate to advanced
798 pages
20h 33m
English
So far, we specified all of the information that zabbix_sender needs on the command line. It's also possible to automatically retrieve some of that information from the agent daemon configuration file. Let's try this (use the correct path to your agent daemon configuration file):
$ zabbix_sender -c /usr/local/etc/zabbix_agentd.conf -k room.persons -o 3
This succeeds, because we specified the configuration file instead of the Zabbix server address and the hostname—these were picked up from the configuration file. If you're running zabbix_sender on many hosts where the Zabbix agent also resides, this should be easier and safer than parsing the configuration file manually. We could also use a special ...
Read now
Unlock full access