How to made zabbix-agent to auto-discover the zabbix-server

zabbixzabbix-agent

I am looking for a setup where I do not have to configure the address of the zabbix server in each zabbix-agent, something similar to DNS auto-discovery used by salt.

Is this possible or is missing from zabbix?

Best Answer

How do you install Zabbix? You could use some configuration management tool (Puppet, Chef, etc.) and create a template for the conf file. Then just pass in the Zabbix server. This gives you a consistent and flexible solution.