-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
zabbix-agent 2 issue: failed to process an incoming connection from ...: EOF #1439
Comments
Incorrect usage ZBX_TLSPSKFILE. Please check documentation: https://github.com/zabbix/zabbix-docker/tree/7.0/Dockerfiles/agent2#varlibzabbixenc |
As you can see in my config (see below) that I mount the right one file as ZBX_TLSPSKFILE. A TLS-connection is established correctly that means doesn't matter where ZBX_TLSPSKFILE is located. It's wrong with something another...
|
Does not matter, no reason to check something, while it is not properly configured. Specify only file name in the variable and mount the file to /var/lib/zabbix/enc. Then check again and provide full logs since Zabbix agent start with enabled debug mode = 4. |
Also, I recommend you check the problem without TLS connection options. |
Yes, I did some tests and if I switch off TLS all working good, no errors.
The host with agent is without any NAT/balancers. The host working as zabbix-server is hosted in AWS VM so that means the 1:1 NAT exists at AWS cloud network side.
Done. The log file is attached: zabbix-agent.log agent run config:
|
Thank you for the explanation. Currently I see the following steps to check the problem:
|
As a data point, the same problem (many https://support.zabbix.com/browse/ZBX-22351 Saying that as it's happening with my systems (not in docker) currently. Both on host servers (physical hardware) and VMs running on those servers. 😦 |
Checking one of the host servers presently, the zabbix agent logs are 99.9% these messages:
So of the 540k lines in the log file so far today, 530k are this message being repeated over and over. |
do you monitor "net.tcp.service[tcp,,10050]"? |
No, I have no idea what that is. If that's some custom setting, then there's definitely no chance it was present. In the meantime, I've rebuilt the entire setup to use Zabbix 6.0 LTS instead which isn't exhibiting the problem. |
I'm still having the same issue:
Also other people using zabbix container (monitoring k8s cluster) have similar issue. |
Is downgrading to Zabbix 6.0 feasible? |
@justinclift Unfortunately, I am unable to downgrade to version 6.0. |
what image was working fine? |
I tried many of agents (7.0.X, 6.0.X) on my k8s cluster and no results.. every time i get |
Interesting. Sounds like the problem is with Zabbix Server v7, and it might not be Zabbix Agent 2 causing issues. |
at this moment im using active server, passive doesn’t work. |
@justinclift The problem also occurs with version 6.4.13. @rzemykers I'm using an active proxy. |
@matzmz Just for clarity, that's version 6.4.13 of the Zabbix server yeah? |
@justinclift, in my setup, both the Zabbix proxy and agent2 are running as Docker containers, and both are at version 6.4.13. The Zabbix server, which is running on a virtual machine, is also at version 6.4.13. The errors I'm encountering are related to the Zabbix agent2 side. |
I'm also getting this error in agents deployed on Kubernetes cluster (Kind) with Helm. It's not difficult to reproduce, just run it... |
I'm also facing the same issue with agents and proxies in a k8s cluster. Does anyone have any solutions or workarounds? |
Same here. Log from the Debian 12 vm with agent 2 (without docker):
It seems that this problem occurs around the line |
I have the same issue, but different configuration. I am using Zabbix 7 agent2 within XenServer (Centos 7). No docker involved, the Zabbix server is a VM. On one machine, if I disable the TLSPSK for the host definition on the server and in the agent.conf, then everything seems to work fine. Otherwise I cannot monitor the availability of the zabbix agent on the XenServer hosts. |
I found a stand alone RHEL9 (not virtualized) that is having the same issue. I have tried to disable TLS, and change to the regular zabbix-agent for RHEL..still intermittent agent availability.... |
Connection between server and agent constantly become failed.
Zabbix-Server 7.0.0 is setup without docker, zabbix-agent 2 in the remote host works in docker.
There are not any errors if I use zabbix-agent 1 in docker.
Logs
1.2.3.4 is a server IP
my_host is a name of the agent at the remote host
Agent logs:
Server logs the same time:
Versions
Server:
Agent:
Configs:
Server:
Agent:
The text was updated successfully, but these errors were encountered: