zabbix proxy出現no active checks on server not found
阿新 • • 發佈:2018-10-23
mage 0.10 sha http entos zabbix conf com 無法 環境centos7
zabbix 版本 4.0
環境介紹:
10.10.10.38 zabbix_agent
10.10.10.70 zabbix_proxy
10.10.10.71 zabbix_server
故障現象:
(1) proxy log 報錯
5963:20181023:051422.419 no active checks on server [10.10.10.70:10051]: host [zabbixagent70] not found
(2)agent 報錯
32088:20181023:160505.117 no active checks on server [10.10.10.38:10051]: host [docker38] not found
(3)server 報錯
5832:20181023:052640.594 cannot send proxy data to server at "10.10.10.71": proxy "Zabbix-proxy" not found shell> vim /etc/hosts
10.10.10.38 docker38
10.10.10.70 zabbix70
10.10.10.71 zabbix_71 Hostname=docker38
zabbix 版本 4.0
環境介紹:
10.10.10.38 zabbix_agent
10.10.10.70 zabbix_proxy
10.10.10.71 zabbix_server
故障現象:
(1) proxy log 報錯
5963:20181023:051422.419 no active checks on server [10.10.10.70:10051]: host [zabbixagent70] not found
(2)agent 報錯
32088:20181023:160505.117 no active checks on server [10.10.10.38:10051]: host [docker38] not found
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
10.10.10.38 docker38
10.10.10.70 zabbix70
10.10.10.71 zabbix_71
2、zabbix_proxy配置文件的設置
shell>grep ^[a-Z] /etc/zabbix/zabbix_proxy.conf
Server=10.10.10.71 ==>指向zabbix_server
Hostname=Zabbix70 ==>這個名字很重要切記,填寫到zabbix --管理--agent代理程序--agent代理程序名稱
3、 agent的創建,也需要保持一致
shell>grep ^[a-Z] /etc/zabbix/zabbix_agentd.conf
zabbix proxy出現no active checks on server not found