Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get value from agent failed: ZBX_TCP_READ() timed out #19

Open
dr-boss opened this issue Apr 25, 2024 · 0 comments
Open

Get value from agent failed: ZBX_TCP_READ() timed out #19

dr-boss opened this issue Apr 25, 2024 · 0 comments

Comments

@dr-boss
Copy link

dr-boss commented Apr 25, 2024

I installed doker version off zabbix 6.4.13
I imported 2 templates
I installed Agent on Hyper VM Host and ps1 scripts work fine but Discovery test give error ZBX_TCP...
Result... no created VM Guest host on Zabbix
Please help me.
ps. What is manual config for (if discovery not work) VM guest host?

Client config:
LogFile=c:\zabbix_agentd_test.log
LogFileSize=1000
DebugLevel=4
AllowKey=system.run[*]
LogRemoteCommands=1
Server=192.168.20.3
ListenIP=0.0.0.0
StartAgents=3
ServerActive=192.168.20.3
Hostname=SERVER3.Mokotow.pl
Timeout=25

Server config:
Network timeout = 30
Connection timeout = 30
Network timeout for script execution = 90
Network timeout for item test = 90

The log of client site:

` 7844:20240425:115800.462 End of collect_perfstat()
2456:20240425:115800.840 execute_str_local() command:'powershell.exe -noprofile -executionpolicy bypass -file "C:\Zabbix\zabbix-vm-perf.ps1"' len:681 cmd_result:'{
"data":[

{ "{#V'
2456:20240425:115800.846 Sending back [{
"data":[

{ "{#VMNAME}":"Endoskopia" ,"{#VMSTATE}":"Off", "{#VMHOST}":"SERVER3" ,"{#REPLICATION}":"Disabled" },
{ "{#VMNAME}":"Pliki Uľyszkodnik˘w" ,"{#VMSTATE}":"Running", "{#VMHOST}":"SERVER3" ,"{#REPLICATION}":"Disabled" },
{ "{#VMNAME}":"SerwerRUM-KSPPS" ,"{#VMSTATE}":"Running", "{#VMHOST}":"SERVER3" ,"{#REPLICATION}":"Disabled" },
{ "{#VMNAME}":"UbuntuMap" ,"{#VMSTATE}":"Off", "{#VMHOST}":"SERVER3" ,"{#REPLICATION}":"Disabled" },
{ "{#VMNAME}":"Xpertis_CMS_produkcja" ,"{#VMSTATE}":"Running", "{#VMHOST}":"SERVER3" ,"{#REPLICATION}":"Disabled" },
{ "{#VMNAME}":"Xpertis_produkcja" ,"{#VMSTATE}":"Running", "{#VMHOST}":"SERVER3" ,"{#REPLICATION}":"Disabled" }
]
}]
9472:20240425:115801.232 In send_buffer() host:'192.168.20.3' port:10051 entries:0/100
9472:20240425:115801.237 End of send_buffer():SUCCEED
9472:20240425:115801.241 In refresh_active_checks() host:'192.168.20.3' port:10051
9472:20240425:115801.245 In zbx_connect_to_server() [192.168.20.3]:10051 [timeout:25, connection timeout:25]
9472:20240425:115801.251 sending [{"request":"active checks","host":"SERVER3.Mokotow.pl","config_revision":156,"session":"054fbb76a45d9842e2c5b636fea2edf8"}]
9472:20240425:115801.256 before read
9472:20240425:115801.262 got [{"response":"success"}]`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant