zabbix proxy出现no active checks on server not found
环境centos7zabbix 版本 4.0
环境介绍:
10.10.10.38 zabbix_agent
10.10.10.70 zabbix_proxy
10.10.10.71 zabbix_server
故障现象:
(1) proxylog 报错
5963:20181023:051422.419 no active checks on server : host not found
(2)agent 报错
32088:20181023:160505.117 no active checks on server : host not found
(3)server 报错
5832:20181023:052640.594 cannot send proxy data to server at "10.10.10.71": proxy "Zabbix-proxy" not found
zabbix server web 无法获取到数据,
故障分析:
1、zabbix 代理、server主机、agent服务器之间的host解析问题
2、zabbix --管理--agent代理程序--agent代理程序名称 的问题
解决方法:
1、讲server、proxy、agent主机名全部写在host表中
shell>hostname
shell> vim /etc/hosts
10.10.10.38 docker38
10.10.10.70 zabbix70
10.10.10.71 zabbix_71
2、zabbix_proxy配置文件的设置
shell>grep ^ /etc/zabbix/zabbix_proxy.conf
Server=10.10.10.71 ==>指向zabbix_server
Hostname=Zabbix70 ==>这个名字很重要切记,填写到zabbix --管理--agent代理程序--agent代理程序名称
http://i2.运维网.com/images/blog/201810/23/9b240a12fbb1598c24802364f7e1e431.png
3、 agent的创建,也需要保持一致
shell>grep ^ /etc/zabbix/zabbix_agentd.conf
Hostname=docker38
http://i2.运维网.com/images/blog/201810/23/5b7ef2c497300beb285672620784ee8c.png
页:
[1]