#39850·wazuh

Deploy new agent wizard: support multiple server addresses for failover

Author: angelo-cmdCreated Oct 1, 2026Updated Oct 1, 2026

The "Deploy new agent" wizard in the Wazuh dashboard only accepts a single value in the "Server address" field. However, the agent itself fully supports multiple manager addresses for failover:

  • the WAZUH_MANAGER deployment variable accepts a comma-separated list of addresses
  • ossec.conf supports multiple <server> blocks, and the agent switches to the next one when the current one becomes unreachable

Because the wizard does not allow entering more than one address, users who need failover have to edit the generated command manually.

Current behavior

Entering more than one address in the "Server address" field (e.g. nginx1.example.local,nginx2.example.local) is not accepted by the field validation.

Expected behavior

The "Server address" field should accept multiple comma-separated addresses (IPs or FQDNs) and generate the corresponding WAZUH_MANAGER='addr1,addr2' value in the install command.

Optionally, a separate field for WAZUH_REGISTRATION_SERVER would be useful, so that enrollment can target a specific node while events use the failover list.

Use case

Agents connect through two TCP proxies (nginx stream) in front of the Wazuh workers. Configuring both addresses on the agents provides failover without requiring a virtual IP or an external load balancer.

Current workaround

Generate the command from the wizard with one address, then manually edit WAZUH_MANAGER to add the second one:

WAZUH_MANAGER='addr1,addr2' WAZUH_REGISTRATION_SERVER='addr1' ...

Failover tested and working with the manually edited command.

Environment

  • Wazuh version: 4.14.6
  • Agent OS: Debian 12