This document will guide you to install or deploy the Wazuh agent.
To execute the commands described below, root privileges are required.
Install the Wazuh agent on your terminal. You can choose between installation or deployment:
Once the agent is installed, the next step is to register it and configure it to communicate with the manager. For more information on this process, visit the user manual section.
The registration and configuration of the agent can be automated using variables. It is necessary to define, at least, the variable
WAZUH_MANAGER. The agent will use this value to register and this will be the assigned manager for forwarding events.
See the following document for additional deployment options: deployment variables.
Enable the service
(Optional) Disable Wazuh updates:
The version of the Wazuh manager is recommended to be greater than or equal to that of the Wazuh agents. Therefore, we recommend disabling the Wazuh repository to prevent accidental upgrades. To do so, use the following command:
Visit our packages list section to download the Wazuh agent package directly or to check the compatible versions.