farmer111 发表于 2019-1-19 11:35:53

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

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

  Received empty response from Zabbix Agent at . Assuming that agent dropped connection
  全是这种,还不是端口错误。
  搞了好久,最后还是看日志搞定的。
  

  日志里有这样
  30305:20170426:123707.943 failed to accept an incoming connection: connection from "192.168.2.199" rejected, allowed hosts: "127.0.0.1"
  7084:20170425:181648.923 failed to accept an incoming connection: connection from "111.?.?.8" rejected, allowed hosts: "111.?.?.2"
  

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

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

  如有知道为什么的,麻烦告知下,谢谢了。
  

  




页: [1]
查看完整版本: zabbix监控告警Received empty response from Zabbix Agent Assuming that agent dropped