Hello and thanks for using Wazuh.
My name is Alex and I'll try to help to solve this issue.
The Kibana App shows the information received from the manager's API, so the issue might have its origin during the agents' resgistration process.
In order to check this, please do the following:
- Open the Wazuh App on Kibana.
- Navigate to the Tools > API Console.
- Run GET /agents (should be already there as default).
- Check if the IPs shown there are also wrong (most likely).
If preferred, this can be also be checked using the CLI on the manager node, as shown
here:
- Run /var/ossec/bin/manage_agents -l
Since Wazuh 4.0, by default, the agent registers automatically with the manager through enrollment. Configuration details can be found on
Enrollment section.
In your case, the configuration field needed is
local_ip
"local_ip: Specifies which IP address will be used to communicate with the manager when the agent has multiple network interfaces."
I hope this helps you to solve you issue. Please don't hesitate to ask me any other question or problem you encounter, I'll be glad to help.
Have a nice day and weekend.
Alex.