美文网首页
zabbix agent指向多台server

zabbix agent指向多台server

作者: 橡皮24 | 来源:发表于2018-04-26 23:13 被阅读145次

修改zabbix agent配置文件

[root@localhost ~]# vim /etc/zabbix/zabbix_agentd.conf
Server=172.19.20.147,172.19.20.146   #多个IP地址用逗号(,)分割
ServerActive=172.19.20.147:10051    #添加多个的主动模式
ServerActive=172.19.20.146:10051

[root@localhost ~]# service zabbix-agent restart

注意:
不要写成
Server=172.19.20.147
Server=172.19.20.146
不然zabbix会有一个server端报错
Received empty response from Zabbix Agent at [172.19.20.145]. Assuming that

相关文章

网友评论

      本文标题:zabbix agent指向多台server

      本文链接:https://www.haomeiwen.com/subject/pojvlftx.html