Upgrading the Wazuh agent¶
The following steps show how to upgrade the Wazuh agent to the latest available version. Since Wazuh 3.x, it is possible to upgrade the Wazuh agents either remotely from the Wazuh manager or locally. Upgrading the Wazuh agents remotely is possible by using the
agent_upgrade tool or the Wazuh API. More information about the process can be found in the Remote agent upgrade section.
To perform the upgrade locally, follow the instructions for the operating system of the Wazuh agent:
Once the Wazuh agent is upgraded, if it still uses UDP, which was the default protocol for versions prior to Wazuh 4.x, it must be changed to TCP in the
<ossec_config> <client> <server> <address>172.16.1.17</address> <port>1514</port> <protocol>udp</protocol> </server>