<!--
  Partial <cluster> block for a WORKER node.
  Merge into /var/wazuh-manager/etc/wazuh-manager.conf inside <wazuh_config>.

  Source: https://documentation.wazuh.com/5.0-beta/user-manual/reference/wazuh-manager-conf/cluster.html

  Identical to the master block except for node_name and node_type.
  <node_name> must be unique across the cluster: if two nodes share a name,
  one of them is rejected.
  <nodes> still points at the MASTER, not at this worker.
-->
<cluster>
  <name>wazuh</name>
  <node_name>worker-node-01</node_name>
  <node_type>worker</node_type>
  <key>REPLACE_WITH_32_CHAR_CLUSTER_KEY</key>
  <port>1516</port>
  <bind_addr>0.0.0.0</bind_addr>
  <nodes>
    <node>MASTER_NODE_IP_ADDRESS</node>
  </nodes>
  <hidden>no</hidden>
</cluster>
