Received empty response from Zabbix Agent at[172.16.1.51]. Assuming that agent dropped connection be

Centos7.5 Zabbix创建主机ZBX爆红

Received empty response from Zabbix Agent at[172.16.1.51]. Assuming that agent dropped connection be

原因:/etc/zabbix/zabbix_agentd.conf配置文件的Server写错了

解决方法:

[root@db01 ~]# vim /etc/zabbix/zabbix_agentd.conf
#       Incoming connections will be accepted only from the hosts listed here.
#       If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are 
treated equally and '::/0' will allow any IPv4 or IPv6 address.
#       '0.0.0.0/0' can be used to allow any IPv4 address.
#       Example: Server=127.0.0.1,192.168.1.0/24,::1,2001:db8::/32,zabbix.domain
#
# Mandatory: yes, if StartAgents is not explicitly set to 0
# Default:
Server=172.16.1.71

#Server=127.0.0.1

### Option: ListenPort
#       Agent will listen on this port for connections from the server.
#
# Mandatory: no
# Range: 1024-32767
# Default:
"/etc/zabbix/zabbix_agentd.conf" 396L, 10642C written                    
[root@db01 ~]# systemctl restart zabbix-agent.service 

  

上一篇:zabbix之主动监控配置


下一篇:【zabbix问题】记录zabbix控制面板报错