Dear Wazuh Team,
I would like to know about the cluster structure of wazuh.
For example, suppose we have two wazuh servers (master and worker) and several wazuh agents, and the wazuh servers are configured in a cluster.
In the agent, the above two wazuh servers are specified in the configuration file.
In such a configuration, the agent recognizes that it will try to connect to the worker when the master server stops functioning due to failure or other reasons.
Considering the possibility that this function may malfunction and the agent may connect to the worker even though there is no failure, we would like to check which agent is connected to which agent by executing commands from the wazuh server.
For example, I think it is possible to check which agent is connected to which wazuh server by checking the ossec.log of all agents, but I would like to check which agent is connected to which wazuh server by operating the wazuh server without operating the agent if possible.
If you know how to do this, I would like to know.
Sorry for my poor English, but thank you in advance.