Upgrading the Wazuh agent from 1.x to 2.x

Follow these steps to update the Wazuh agent 1.x to the Wazuh agent 2.x:

On DEB or RPM based Linux systems, the Wazuh agents can be upgraded using the packages manager. The process is similar to installing the Wazuh agent on Linux.

The Wazuh agent’s version can be verified by running the following command:

# /var/ossec/bin/manage_agents -V
Wazuh v2.0 - Wazuh Inc.

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License (version 2) as
published by the Free Software Foundation.

On Windows systems the Wazuh agent upgrade can be done by deleting the previous version and installing the Wazuh agent 2.x from scratch. As the Wazuh agent’s ossec.conf configuration file will be overwritten, it is recommended to backup the old configuration file and import previous settings where needed.

More information about the process can be found in the Wazuh agent installation on Windows section.

On MacOS X system the Wazuh agent upgrade can be done by deleting the previous version and installing the Wazuh agent 2.x from scratch. As the Wazuh agent’s ossec.conf configuration file will be overwritten, it is recommended to backup the old configuration file and import previous settings where needed.

More information about the process can be found in the Wazuh agent installation on MacOS X section.