The Wazuh API allows the Wazuh agent registration by running a single request from any host. This request returns the Wazuh agent’s registration key, which must be manually added to the Wazuh agent using
Root user privileges are necessary to execute all the commands described below, and the Wazuh API must be accessible from the host on which the request is executed.
Terminal history will keep the generated agent key when using the
manage_agents utility. Consider disabling it beforehand, cleaning it afterward, or using another registration method.
Choose the tab corresponding to the Wazuh agent host operating system: