I have a Zabbix agent with the following configuration:
LogType=file
LogFile=/etc/zabbix/log
DebugLevel=3
AllowKey=system.run[*]
Server=(serverIP)
ListenPort=10050
ServerActive=(serverIP):10051
Hostname=(hostname on zabbix server)
Timeout=30
User=nobody
TLSConnect=psk
TLSAccept=psk
TLSPSKIdentity=(pskID)
TLSPSKFile=/etc/zabbix/zabbix_agentd.psk
LoadModulePath=/var/lib/zabbix/modules/
I have an Item configured with Zabbix Agent (active) and it runs OK, it runs system.run["my-command"] every minute, and that is running OK.
Then I have a Zabbix Agent with agent.ping and this returns nothing. When I check the agent availability it says "Get value from agent failed: TCP successful, cannot establish TLS to [[(agentIP)]:10050]: SSL_connect() I/O error: [104] Connection reset by peer" and I cannot understand why,
Disabling Encryption did not help me. I am running Zabbix-Agent 5.2.5 inside a docker-container with the official docker image.
What am I missing here? Is it the ports configuration? Do active and passive checks differ on the ports? I am only opening port 10050 on the host and container.
LogType=file
LogFile=/etc/zabbix/log
DebugLevel=3
AllowKey=system.run[*]
Server=(serverIP)
ListenPort=10050
ServerActive=(serverIP):10051
Hostname=(hostname on zabbix server)
Timeout=30
User=nobody
TLSConnect=psk
TLSAccept=psk
TLSPSKIdentity=(pskID)
TLSPSKFile=/etc/zabbix/zabbix_agentd.psk
LoadModulePath=/var/lib/zabbix/modules/
I have an Item configured with Zabbix Agent (active) and it runs OK, it runs system.run["my-command"] every minute, and that is running OK.
Then I have a Zabbix Agent with agent.ping and this returns nothing. When I check the agent availability it says "Get value from agent failed: TCP successful, cannot establish TLS to [[(agentIP)]:10050]: SSL_connect() I/O error: [104] Connection reset by peer" and I cannot understand why,
Disabling Encryption did not help me. I am running Zabbix-Agent 5.2.5 inside a docker-container with the official docker image.
What am I missing here? Is it the ports configuration? Do active and passive checks differ on the ports? I am only opening port 10050 on the host and container.