码迷,mamicode.com
首页 > 数据库 > 详细

Received empty response from Zabbix Agent at[172.16.1.51]. Assuming that agent dropped connection because of access permissions

时间:2019-02-20 20:08:56      阅读:589      评论:0      收藏:0      [点我收藏+]

标签:highlight   enable   mission   style   alt   方法   support   com   use   

Centos7.5 Zabbix创建主机ZBX爆红

技术图片

原因:/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 

  

Received empty response from Zabbix Agent at[172.16.1.51]. Assuming that agent dropped connection because of access permissions

标签:highlight   enable   mission   style   alt   方法   support   com   use   

原文地址:https://www.cnblogs.com/lvhanzhi/p/10408639.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!