Enrollment via agent configuration

With this option, the Wazuh agent is automatically enrolled after you have configured the Wazuh manager IP address or FQDN (Fully Qualified Domain Name). When using additional security options, you might need to configure other settings.

You can configure the Wazuh manager IP address or FQDN (Fully Qualified Domain Name) in one of two ways on the Wazuh agent:

  • Using environment variables during the Wazuh agent installation process. The guide to this process can be found here.

  • Manually configuring the Wazuh manager IP address or FQDN (Fully Qualified Domain Name) in the Wazuh agent configuration file.

Enrollment with additional security options involves the use of passwords for enrollment authorization or certificates for identity validation of the Wazuh agent and Wazuh manager. See the additional security options section for guidance on enrolling a Wazuh agent to a Wazuh manager with additional security options enabled.

The steps below show how to enroll the Wazuh agent for different operating systems: