Hello,
I'm having a challenge enrolling an agent to wazuh.
2022/05/13 15:12:16 wazuh-authd: INFO: Received request for a new agent (CBM-C02G81A6Q05Q) from: xxx.xxx.xxx.xxx
2022/05/13 15:12:16 wazuh-authd: WARNING: Duplicate name 'CBM-C02G81A6Q05Q', rejecting enrollment. Agent '987' key already exists on the manager.
So far I have performed the following:
1. Uninstalled the wazuh-agent from the endpoint
2. Removed the agentid using the CLI,
3. Reinstalled the agent the agent
I am still encountering the error message for the same host but with a new agentid.