Always verify that your Atomic HUB is on the latest version before updating agents.
Update Using the User Interface
Note: This update option is only supported on Linux
- Log into the Atomicorp UI
- Navigate to Asset Management > Agent Management
- Select the group the agent resides in
- Click on the agent name you wish to update
- Click on the 'Update Agent' button then select 'Update OSSEC Agent'
- Click 'Run Update'
Update Using the CLI
Ubuntu/Debian
- Log into the agent using your preferred access method
Update the agent to the latest version using your package manager (apt/apt
apt upgrade ossec-hids-agent
CentOS/Rocky/RHeL/Alma/AIX
- Log into the agent using your preferred access method
Update the agent to the latest version using your package manager
yum update ossec-hidsor
dnf update ossec-hids
Solaris
- Log into the agent using your preferred access method
Download the installer
/usr/sfw/bin/wget http://<IP.ADDRESS.HUB>/installers/ossec-installer.sh
Change permissions of the installer
chmod +x ossec-installer.sh
Re-install the agent with the --server flag
./ossec-installer.sh --server <IP.ADDRESS.HUB>