Environment centos7
Zabbix version 4.0
Environment Introduction:
10.10.10.38 zabbix_agent
10.10.10.70 zabbix_proxy
10.10.10.71 zabbix_server
Fault symptom:
(1) proxy log error
5963: 20181023: 051422.419 no active checks on server [10.10.10.70: 10051]: host [zabbixagent70] not found
(2) Agent Error
32088: 20181023: 160505.117 no active checks on server [10.10.10.38: 10051]: host [docker38] not found
(3) Server Error
5832: 20181023: 052640.594 cannot send proxy data to server at "10.10.10.71": proxy "zabbix-proxy" not found
Zabbix Server Web cannot obtain data,
Fault analysis:
1. Host resolution problems between zabbix proxy, server host, and Agent Server
2. zabbix -- manage -- Agent agent name
Solution:
1. The host names of server, proxy, and agent are all written in the host table.
Shell> hostname
Shell> Vim/etc/hosts
10.10.10.38 docker38
10.10.10.70 zabbicross
10.10.10.71 zabbix_71
2. zabbix_proxy Configuration File Settings
Shell> grep ^ [A-Z]/etc/zabbix/zabbix_proxy.conf
Server = 10.10.10.71 ==> to zabbix_server
Hostname = zabbixi => this name is very important. Enter zabbix-Manage-Agent agent name.
3. The creation of the agent must be consistent.
Shell> grep ^ [A-Z]/etc/zabbix/zabbix_agentd.conf
Hostname = docker38
Zabbix proxy displays no active checks on server not found