
Received empty response from Zabbix Agent at [agent]. Assuming that agent dropped connection because
Received empty response from Zabbix Agent at [agent]. Assuming that agent dropped connection becauseof access permissions查看 /var/log/zabbix/zabbix_agentd.log4143:20211123:235750.944 using configuratio
·
Received empty response from Zabbix Agent at [agent]. Assuming that agent dropped connection because of access permissions
查看 /var/log/zabbix/zabbix_agentd.log
4143:20211123:235750.944 using configuration file: /etc/zabbix/zabbix_agentd.conf
4143:20211123:235750.945 agent #0 started [main process]
4146:20211123:235750.953 agent #3 started [listener #2]
4147:20211123:235750.962 agent #4 started [listener #3]
4144:20211123:235750.964 agent #1 started [collector]
4148:20211123:235750.966 agent #5 started [active checks #1]
4145:20211123:235750.969 agent #2 started [listener #1]
4148:20211123:235753.969 active check configuration update from [172.17.0.3:10051] started to fail (cannot connect to [[172.17.0.3]:10051]: [4] Interrupted system call)
4145:20211123:235831.302 failed to accept an incoming connection: connection from "192.168.1.20" rejected, allowed hosts: "172.17.0.3"
4145:20211123:235931.366 failed to accept an incoming connection: connection from "192.168.1.20" rejected, allowed hosts: "172.17.0.3"
4145:20211124:000031.422 failed to accept an incoming connection: connection from "192.168.1.20" rejected, allowed hosts: "172.17.0.3"
4145:20211124:000130.483 failed to accept an incoming connection: connection from "192.168.1.20" rejected, allowed hosts: "172.17.0.3"
4145:20211124:000230.543 failed to accept an incoming connection: connection from "192.168.1.20" rejected, allowed hosts: "172.17.0.3"
4145:20211124:000330.605 failed to accept an incoming connection: connection from "192.168.1.20" rejected, allowed hosts: "172.17.0.3"
4145:20211124:000430.659 failed to accept an incoming connection: connection from "192.168.1.20" rejected, allowed hosts: "172.17.0.3"
4145:20211124:000530.719 failed to accept an incoming connection: connection from "192.168.1.20" rejected, allowed hosts: "172.17.0.3"
4145:20211124:000630.779 failed to accept an incoming connection: connection from "192.168.1.20" rejected, allowed hosts: "172.17.0.3"
4145:20211124:000730.834 failed to accept an incoming connection: connection from "192.168.1.20" rejected, allowed hosts: "172.17.0.3"
我的zabbix-server端是安装在docker里,所以我的zabbix-server在docker里有一个内网地址,docker所在的宿主机是个外网地址;
在被监控主机上安装zabbix-agent,配置文件
#这里应该写zabbix-server所在的ip,因为zabbix-server在docker里的ip为内网,
但是日志报错。显示192.168.1.20拒绝,我们将192.168.1.20也加上
Server=192.168.1.20,172.17.0.3
ServerActive=192.168.1.20,172.17.0.3
web页填写的为zabbix-agent所在服务器的ip地址;
然后刷新就正常了;
更多推荐
所有评论(0)