zabbix active check configuration update from host [192.168.10.10] started to fa

30 阅读1分钟

错误日志

2024/10/01 22:24:12.195137 [101] active check configuration update from host [192.168.10.10] started to fail
2024/10/01 22:24:18.846196 failed to accept an incoming connection: connection from "127.0.0.1" rejected, allowed hosts: "192.168.10.10"
2024/10/01 22:25:18.909239 failed to accept an incoming connection: connection from "127.0.0.1" rejected, allowed hosts: "192.168.10.10"
2024/10/01 22:26:16.195746 [101] cannot receive data from [0.0.0.0:10051]: Cannot read message: 'read tcp 127.0.0.1:35363->127.0.0.1:10051: i/o timeout'

查看zabbix-angent 配置

cat /etc/zabbix/zabbix_agent2.conf |grep -v -E '^\s*(#|$)'
PidFile=/run/zabbix/zabbix_agent2.pid
LogFile=/var/log/zabbix/zabbix_agent2.log
LogFileSize=0
Server=127.0.0.1
ListenIP=0.0.0.0
ServerActive=127.0.0.1
Hostname=192.168.10.10
Include=/etc/zabbix/zabbix_agent2.d/*.conf
PluginSocket=/run/zabbix/agent.plugin.sock
ControlSocket=/run/zabbix/agent.sock
Include=./zabbix_agent2.d/plugins.d/*.conf

将ServerActive=127.0.0.1注释 重启 看日志 没报错了