修改zabbix agent配置文件
[root@localhost ~]# vim /etc/zabbix/zabbix_agentd.conf
Server=172.19.20.147,172.19.20.146 #多個(gè)IP地址用逗號(hào)(胆数,)分割
ServerActive=172.19.20.147:10051 #添加多個(gè)的主動(dòng)模式
ServerActive=172.19.20.146:10051
[root@localhost ~]# service zabbix-agent restart
注意:
不要寫成
Server=172.19.20.147
Server=172.19.20.146
不然zabbix會(huì)有一個(gè)server端報(bào)錯(cuò)
Received empty response from Zabbix Agent at [172.19.20.145]. Assuming that