zabbix error - filed to accept an incoming connection: connection from "192.168.174.133" rejected

报错:2176:20180625:202101.065 failed to accept an incoming connection: connection from "192.168.174.133" rejected, allowed hosts: "192.168.173.133"

修改agent的配置文件,zabbix_agentd.conf,将Server配置为允许zabbix server访问,如下:

Server=192.168.174.133
ServerActive=192.168.174.133

我一直也是这么修改的,但还是一直报错,再看日志发现zabbix agent启动的时候用的配置文件并不是我安装目录下/home/wfq/zabbix_agent/etc/zabbix_agentd.conf
而是用的日志文件中显示的这个目录下的配置文件
2173:20180625:201913.997 using configuration file: /usr/local/etc/zabbix_agentd.conf
修改该配置文件的Server 和 ServerActive之后,重新启动,问题解决;

猜你喜欢

转载自blog.csdn.net/wang725/article/details/80807060
今日推荐