The agent's host status is unknown. When checking the logs I get the following:
8028:20230613:153921.022 In zbx_connect_to_server() [10.0.0.50]:10051 [timeout:3, connection timeout:3]
8028:20230613:153921.024 In zbx_is_ip4() ip:'10.0.0.50'
11452:20230613:153921.025 End of collect_perfstat() zz0.al3nrpxcbo9zz
Zabbix host is installed in docker. Three different containers:
zabbix/zabbix-server-mysql:alpine-6.4-latest 0.0.0.0:10051->10051/tcp, :::10051->10051/tcp zabbix-server-mysql
zabbix/zabbix-web-nginx-mysql:alpine-6.4-latest 8443/tcp, 0.0.0.0:90->8080/tcp, :::90->8080/tcp zabbix-web-nginx-mysql
zabbix/zabbix-java-gateway:alpine-6.4-latest 10052/tcp zabbix-java-gateway
What I've done:
Set the firewall rules correct to allow inbound traffic. Didnt work so I disabled the firewalls (Not production so it's fine).
Agent config parameters changed:
Hostname=AGENTSERVERIP4
ServerActive= ZABBIXHOSTIP4
Server= ZABBIXHOSTIP4
LogRemoteCommands=1
AllowKey=system.run[*] zz0.d2f3qnlr4tzz
Then I maybe thought the reverse proxy on that server might be causing this, but this still happens when NGINX Proxy is turned off. So I don't think the proxy has an impact, it doesnt even listen to port 10051
Anyone else knows what I can try next?