我们就在zabbix页面一直没有监控到zabbix-agent端,查看了zabbix-agent日志报错
日志报错信息:active check configuration update from [127.0.0.1:10051] started to fail (cannot connect to [[127.0.0.1]:10051]: [111] Connection refused)
[root@localhost zabbix]# cd /etc/zabbix/
[root@localhost zabbix]# ls
zabbix_agentd.conf zabbix_agentd.d
[root@localhost zabbix]# vim zabbix_agentd.conf
138 ServerActive=127.0.0.1 #138 行没有注释掉我们是要zabbix-server监控zabbix-agent端不是让他自己监控自己,注释掉以后,重启zabbix-server与agent端,刷新网页后发现监控恢复
**监控页面显示正常
**