S
S
SA_kr2021-07-25 18:07:02
Zabbix
SA_kr, 2021-07-25 18:07:02

zabbix error Get value from agent failed: ZBX_TCP_READ() timed out?

Good day. I'm trying to connect zabbix agent windows 10
agent log piece:

zabbix agent log
9440:20210725:193728.919 In collect_perfstat()
9440:20210725:193728.929 End of collect_perfstat()
9440:20210725:193729.946 In collect_perfstat()
9440:20210725:193729.951 End of collect_perfstat()
9440:20210725:193730.955 In collect_perfstat()
9440:20210725:193730.960 End of collect_perfstat()
7752:20210725:193731.635 execute_str() command:' C:\OpenHardwareMonitorReport\TemperatureCPU.bat' len:2 cmd_result:'36'
7752:20210725:193731.636 Sending back [36]
9440:20210725:193731.975 In collect_perfstat()
9440:20210725:193731.977 End of collect_perfstat()
9440:20210725:193732.979 In collect_perfstat()
9440:20210725:193732.981 End of collect_perfstat()
9440:20210725:193733.985 In collect_perfstat()
9440:20210725:193733.987 End of collect_perfstat()
the call is successful.
Cutting from the log of the zabbix server (received data through a request !!!):
zabbix server log
975:20210725:133930.837 trapper got '{"request":"item.test","data":{"type":"0","proxy_hostid":"0","key":"Temperature.CPU","interface":{"address":"192.168.*.*","port":"10050","type":0}},"sid":"017a5544d64164658cfc79995e8ec5d0"}'
975:20210725:133930.839 In get_value_agent() host:'' addr:'192.168.*.*' key:'Temperature.CPU' conn:'unencrypted'


what to do with this error? In get_value_agent() host:'' addr:'192.168.*.*' key:'Temperature.CPU' conn:'unencrypted'
agent.conf
# This is a configuration file for Zabbix agent service (Windows)

LogFile=C:\Program Files\Zabbix Agent\zabbix_agentd.log

DebugLevel=4

Server=192.168.*.*

Hostname=IT

# TLSConnect=unencrypted
# TLSAccept=unencrypted
UserParameter=Temperature.CPU, C:\OpenHardwareMonitorReport\TemperatureCPU.bat


# TLSConnect=unencrypted
# TLSAccept=unencrypted
Tried to uncomment it - doesn't help. Maybe something to configure on the server itself? The last time on version 5 everything worked fine (in another place).
telnet in both directions OK, agent 5.4.3, ubuntu 20 on the server

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
nekit0d, 2021-10-13
@SA_kr

in setting
zabbix_agentd.conf
zabbix_server.conf
parameter
### Option: Timeout
# Spend no more than Timeout seconds on processing
#
# Mandatory: no
# Range: 1-30
# Default:
# Timeout=3
Timeout=30

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question