zabbix: failed to accept an incoming connection

错误描述

查日志发现:

failed to accept an incoming connection: connection from "192.168.186.132" rejected, allowed hosts: "127.0.0.1"

问题: 这个是 zabbix_agentd.conf 文件配置错误的提示

解决:

在zabbix的安装目录下 (我的是/usr/local/zabbix):

# vim /usr/local/zabbix/etc/zabbix_agentd.conf

修改 :

Server=你的服务器地址

ServerActive=你的服务器地址

Hostname=你的客户端名称

最后重启agent

# service zabbix_agentd restart
原文地址:https://www.cnblogs.com/rysinal/p/5834424.html