On a host is have 3 system.run commands 2 of them run fine.
The third one which takes about 6 seconds processing time gives the mentioned error.
So in the zabbix_agent2.conf (windows agent) I set the timeout to Timeout=15
Where the word Timeout start at the first characters of a new line.
However when executing the the command from test option on host level I keep getting the error.
The command i run =
First I expected that my agent2 version was mismatch with the server was a potential error but before posting this i made sure those are both the same version
The error "error ZBX_TCP_READ() timed out" comes in about 3 to 4 seconds in the server Gui. When I make the powershell code faulty then I get an error output of the command so it does land on the host.
Agent2 version 6.4.8, Server 6.4.8
The third one which takes about 6 seconds processing time gives the mentioned error.
So in the zabbix_agent2.conf (windows agent) I set the timeout to Timeout=15
Where the word Timeout start at the first characters of a new line.
However when executing the the command from test option on host level I keep getting the error.
The command i run =
Code:
system.run[powershell.exe -c "$UpdateSession = New-Object -ComObject Microsoft.Update.Session ; $UpdateSearcher = $UpdateSession.CreateupdateSearcher() ; $UpdateSearcher.Search('IsHidden=0 and IsInstalled=0').Updates | Select-Object -expandproperty Title", wait]
The error "error ZBX_TCP_READ() timed out" comes in about 3 to 4 seconds in the server Gui. When I make the powershell code faulty then I get an error output of the command so it does land on the host.
Agent2 version 6.4.8, Server 6.4.8
Comment