Hi everyone,
I would like to monitor my Wazuh Manager server itself as if it were one of the agents.
In other words, I want the Wazuh Manager to report its own logs, configuration assessment, and integrity checks to Wazuh, just like a normal agent would.
What is the proper way to set this up?
Should I install and register the Wazuh agent on the same machine as the manager, and point it to 127.0.0.1 as the manager address?
Are there any best practices or configuration examples for monitoring the manager host itself?
Thanks in advance!
Thank you for your response.
I have a question — why was it decided that we can’t have the Wazuh Manager act as a normal agent, so that we could monitor it just like the others (including running SCA checks) and have full visibility and assurance about the manager itself?
My second question is about Wazuh Manager nodes that are configured as workers — how can I identify or search for them in the dashboard (by which ID or attributes)?
Thank you for your response.
I followed your guidance for the cluster setup and was able to see the logs of the wazuh-manager that acts as the master.
However, I still can’t see the logs of the wazuh-manager instances configured as workers.
So, either I’m applying the wrong filters,
or I’ve misunderstood the master and worker roles — and maybe everything related to the Wazuh manager cluster exists only on the master, meaning I should use the master itself for scanning and monitoring the workers.
I’m trying to view the logs related to the workers as well, but I haven’t been successful so far.
That’s why I’m a bit concerned that I might have misconfigured something that caused this issue.
Please guide me so I can have a clearer understanding of how the Wazuh cluster works.
Thank you.
The name of the Wazuh manager (master) is wazuh-manager01,
and the workers are wazuh-manager02 and wazuh-manager03.
When I run the following command:
cluster_control -lit gives me the following output:
wazuh-1 master 4.13.0 192.168.7.88Even when I try to filter based on wazuh-2 and wazuh-3, I still don’t get any results and can’t see any logs.