转:get value from agent failed: ZBX_TCP_READ() failed;[104] connection reset by peer

时间:2021-04-16 15:47:40

get value from agent failed: ZBX_TCP_READ() failed;[104] connection reset by peer

zabbix都搭建好了,进行一下测试看看能否检测到agent端的数据,结果都报错了:
# /usr/local/zabbix/bin/zabbix_get -s 119.254.72.141 -k disk.home
zabbix_get [85676]: Get value error: ZBX_TCP_READ() failed [Connection reset by peer]

# /usr/local/zabbix/bin/zabbix_get -s 119.254.72.141 -k disk.usr

zabbix_get [85691]: Get value error: ZBX_TCP_READ() failed [Connection reset by peer]

 

转:get value from agent failed: ZBX_TCP_READ() failed;[104] connection reset by peer

排查
第一步:进程
查看了一下zabbix_server进程启动了,  agent端的zabbix_agentd也已经启动了

转:get value from agent failed: ZBX_TCP_READ() failed;[104] connection reset by peer

第二步:查看zabbix_agentd.win.conf端配置文件,serverIP是否正确

转:get value from agent failed: ZBX_TCP_READ() failed;[104] connection reset by peer

第三步:查看sever和agent防火墙,是否禁止链接10050端口

转:get value from agent failed: ZBX_TCP_READ() failed;[104] connection reset by peer

第四步:重启下客户机的agent的服务,发现好了

转:get value from agent failed: ZBX_TCP_READ() failed;[104] connection reset by peer