Hello Daniel,
The warnings indicate that multiple agents are attempting to register with the manager using a name that is already in use.
By default, the manager rejects re-enrollment attempts from agents that have been registered but remain in a disconnected state for less than one hour. You can find more details in the Wazuh Manager documentation.
In practice, this means the new agent is trying to replace an existing one, but since the previous agent hasn’t been disconnected long enough, the registration request is blocked. This situation can arise for several reasons:
Scenario 1: Agent reconnection issues
When an agent fails to connect multiple times, it may attempt to generate a new key. This behavior is part of the auto-enrollment feature.
The Wazuh agent is designed to run continuously. If it disconnects from the manager (port 1514, remoted), it will repeatedly try to reconnect. After a while, if the agent assumes its key is invalid, it will attempt to re-enroll.
However, in this scenario, the server rejects the request because the agent is already registered.
To resolve the issueScenario 2: Multiple agents with the same name
If you are enrolling many new agents that share the same name as ones already registered on the server, these warnings are expected. The best solution is to configure unique names for each agent. See the documentation here: https://documentation.wazuh.com/current/user-manual/agent/agent-enrollment/enrollment-methods/via-agent-configuration/linux-endpoint.html
If the error persists, please share the ossec.log file from your manager and from one of your agents, and we will analyze them and provide us the following information
To determine exactly what happened, we will need the following logs:
This situation is not expected under normal conditions.
Without more detailed information about the specific tasks performed during your upgrade, we can only speculate. The following is just a theory of what could have happened, not a confirmed explanation:
In principle, client keys should eventually synchronize, and the issue should resolve itself, so this behavior could indicate something unexpected.
Please provide the requested logs and additional details so we can determine exactly what occurred in your environment.