Centos 7 – Add 2 Active Zabbix Server for monitoring

Multiple servers for active agent

Multiple server support in 1.8.12 and later
First, there is a new configuration parameter – ServerActive. How it works:
If ServerActive is specified, Server is not used for active checks, only for passive checks

nano /etc/zabbix/zabbix_agentd.conf

find Server
Add your multiple Zabbix servers (for example)

Server=zabbixserver,zabbixproxy1,10.1.13.13

then,
find ServerActive
Add your multiple active Zabbix servers (for example)

ServerActive=zabbixserver,zabbixproxy1,10.1.13.13

Save it and restart Zabbix agent service

systemctl restart zabbix-agent

Enjoy 🙂