zabbix监控告警Received empty response from Zabbix Agent Assuming that agent dropped connection

昨天想监控下tomcat,在网上找到,配置好后,重启了下Server,而后告警就来了
tomcat

Received empty response from Zabbix Agent at [192.168.2.203]. Assuming that agent dropped connectionide

全是这种,还不是端口错误。spa

搞了很久,最后仍是看日志搞定的。日志


日志里有这样server

30305:20170426:123707.943 failed to accept an incoming connection: connection from "192.168.2.199" rejected, allowed hosts: "127.0.0.1"ip

7084:20170425:181648.923 failed to accept an incoming connection: connection from "111.?.?.8" rejected, allowed hosts: "111.?.?.2"it


我分析,公网的这些失败是出口有多个ip,而我只写了一个111.?.?.2,那它如今就从111.?.?.8出去,因此会报错,增长新ip后,重启agent,成功。io


可是第一个127.0.0.1的,我一直没变过,也报错了,这个就不太清楚了,最后在配置文件和前台都改了server的ip为192.168.2.199后,才成功。class


若有知道为何的,麻烦告知下,谢谢了。监控

相关文章
相关标签/搜索