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
# /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]html
排查
第一步:進程
查看了一下zabbix_server進程啓動了, agent端的zabbix_agentd也已經啓動了
測試
第二步:查看zabbix_agentd.win.conf端配置文件,serverIP是否正確spa
第三步:查看sever和agent防火牆,是否禁止連接10050端口
server
第四步:重啓下客戶機的agent的服務,發現好了htm