Please verify that the cluster configuration is correct on both the master and worker nodes.
On the master, ensure the <cluster> section is configured similarly to, mail;y the node type should be, <node_type>master</node_type> :
On each worker, verify that:
After verifying the configuration, restart the manager on all nodes:
If the issue persists, please share the output of the following commands from both the master and one worker:
If cluster.log is not available, share the cluster-related messages from:
Also, ensure that port 1516/TCP is reachable between the master and workers and that no firewall is blocking the communication.
Finally, please clarify what you mean by "the master is not syncing data from the workers"? Are you referring to cluster-managed files (such as agent groups, rules, decoders, etc.), or are you expecting alerts/events to be synchronized?

Hi NASHATH,
I noticed that the <nodes> section in your master configuration includes all of the worker IP addresses. This should not be configured this way.
According to the Wazuh cluster configuration, there can only be one master node, and the <nodes> section on both the master and each worker should contain only the master node's IP address. Any additional worker IP addresses should not be included in this section.
Your configuration should look similar to the following:
Master:<cluster>
</cluster>
Worker:
Please update the configuration accordingly, restart the Wazuh manager on all cluster nodes, and let us know if the issue persists.
For reference: https://documentation.wazuh.com/current/user-manual/wazuh-server-cluster/cluster-nodes-configuration.html?utm_source=chatgpt.com
For the vulnerability detection, also please refer to: https://documentation.wazuh.com/current/user-manual/capabilities/vulnerability-detection/configuring-scans.html