Wazuh agent upgrades start after the central components are current
Agent upgrades come after the Wazuh indexer, server and dashboard are on the target version, and they run in waves rather than as one fleet-wide push. The page question has a short answer: where the Wazuh server can push packages to an agent, use a remote upgrade, and where it cannot (agents that are offline, isolated or on platforms the remote path does not cover), run a local upgrade on the endpoint. Both paths need the same discipline: a written inventory of agent versions and operating systems, a pilot group, and a rollback plan for each wave. An agent that is newer than the server it reports to, or older than the minimum the target release supports, creates problems that are hard to see from the dashboard, so the order matters as much as the method.
The current 4.14 line changes often enough to make a repeatable wave process worth building. Wazuh shipped 4.14.8 on 23 September 2026 and 4.14.9 on 14 October 2026, and the patch releases since March 2026 have arrived roughly every one to two months. Each patch can change the exact server and agent pairs you are allowed to run, so the team should not reuse last quarter's matrix. Before scheduling any wave, confirm the supported agent and server version pairs in the release notes for the exact target version, and record which agents fall outside them. Plan the waves as a standing process with a named owner, a change window per operating system family and a go or no-go check after the pilot group reports back, so the next patch release becomes a routine repeat rather than a new project. Ask your partner, or your own platform team, to show how that matrix is kept current.
How the server, API and agents fit together during an agent upgrade
The upgrade starts with an operator or automation call to the Wazuh server API, which targets a selected agent group. The server distributes the upgrade package to reachable agents, and each agent restarts on the new version. Verification then checks agent status and version. Endpoints the server cannot reach, or that fail, branch to a local upgrade on the host and return to the same verification step before the group is considered done.
Remote upgrade path through the server, with a local upgrade branch for failed endpoints.
What changes in the 4.14 patch line that affects agents
This table lists the 4.14 patch releases supplied for this page and the points that matter for remote agent upgrades. Read each row against the release notes for your target version before scheduling any agent wave, because the notes are the authority on what changed.
| Change | Impact on agents | Action needed |
|---|---|---|
| 4.14 patch releases on 17 March, 23 April, 1 July, 29 July, 23 September and 14 October 2026 | Agents and server can drift across several patch levels if upgrades are staged over months, so the server and agent versions you target must be compared against the same release notes. | Record the server version and the agent versions in each group before each wave, and confirm the target agent version in the release notes. |
| Latest 4.14 patch releases: 4.14.8 on 23 September 2026 and 4.14.9 on 14 October 2026 | Agents should not be upgraded to a version newer than the server supports, so the server should be on or above the agent target before remote upgrades begin. | Confirm the supported server and agent version pairing in the release notes and upgrade the central components first. |
| Remote upgrades use WPK packages delivered by the Wazuh server | The server must hold the correct WPK package for each target version and operating system before the upgrade command runs, or the remote upgrade will not proceed. | Confirm which WPK packages the target release provides for each operating system in your fleet and test on one agent first. |
| Server-side changes to the agent upgrade interface between patch releases | The API or agent_upgrade method used to trigger upgrades may change behavior between patch levels, so scripts written for an earlier 4.14 release may need edits. | Review the release notes for API or agent_upgrade changes and retest your upgrade scripts on a test agent. |
| Deprecations or breaking changes listed for the target version | Deprecated options or removed settings can affect agent configuration or enrollment after an upgrade. | Read the deprecation section of the target release notes and check each agent group configuration against it. |
| Agent-side changes in the target version, such as supported operating system or service behavior | Changes to the agent package or service can affect how remote upgrades restart the agent and whether local upgrades need extra steps on a given operating system. | Where the release notes do not state an impact for an operating system, confirm it with the release notes and a test agent on that system. |
Choosing remote or local upgrades for each part of the fleet
Remote upgrades through the Wazuh API push a WPK package from the Wazuh server to selected agents, which then install it and restart. This is the route most fleets use for Linux, Windows and macOS agents that are enrolled, connected and running a version the server can upgrade from. The operator needs network reachability from the agent to the Wazuh server, a Wazuh API user with a role that permits agent upgrade operations, and a plan for which agent groups or IDs are included. Confirm the exact endpoint names, request parameters, WPK package naming and supported source versions in the current Wazuh documentation before running anything.
- Server reachability: agents must hold a live connection to the manager during the upgrade window, or the task will stall.
- API credentials: use a dedicated account with the minimum role needed, and record who triggered each wave.
- Group scoping: target by agent group so that pilot, test and production rings stay separate.
- Cannot do: upgrade agents that are offline, unenrolled or too old for the package path, and it does not replace a rollback plan on the endpoint.
- Operator effort: the server, not the endpoint administrator, carries most of the work, which keeps effort low for large Linux and Windows groups.
Before a wave, check agent status, connection counts and the server log for the target group, then compare the reported versions afterward.
The agent_upgrade tooling is a remote upgrade path driven from the Wazuh server side, offered as an alternative to calling the API directly. It suits teams that prefer a command-line workflow on the manager for batches of agents, or that already script server-side operations. It depends on the same basic conditions as the API route: the agents must be connected, the server must hold the correct package, and the operator must have server-level access. Confirm the command syntax, the options for selecting agents, and any version compatibility limits in the current documentation rather than writing them from memory.
- Server access: the operator needs a shell or automation account on the Wazuh server with rights to run the tool.
- Batch selection: check how the tool selects agents by ID, group or version, and dry-run any selection before execution.
- Pacing: confirm whether the tool upgrades in parallel or one at a time, and set waves that match your change window.
- Cannot do: it cannot reach agents that are disconnected, and it does not remove the need to validate alerts after each batch.
- Auditability: capture command output and shell history in your change record, since the action is performed centrally.
After each batch, confirm the reported agent versions and check that the agents reconnect and send events normally.
Local upgrades run on the endpoint itself, usually when the agent cannot be upgraded remotely: it is disconnected, it sits on a segment with restricted connectivity, or its version is outside the remote path. Linux hosts are often managed by configuration tools or package managers, so the first question is whether the package source is controlled by your team. The person performing the upgrade needs root or equivalent administrator rights, access to the package repository or a local copy of the package, and a maintenance window. Confirm the exact repository setup, package names and service commands for each distribution in the current documentation.
- Administrator rights: root or an equivalent elevated account on each host, granted through your normal privileged access process.
- Package source: use the official Wazuh repository or an internal mirror, and verify the package signature before installing.
- Automation: configuration management tools can run the same steps across many hosts, but test them on a canary host first.
- Cannot do: it does not scale well by hand for large numbers of hosts, and it still needs the agent to reconnect to the server afterward.
- Rollback: keep the previous package version available where your distribution allows it, and record the agent state before the change.
After the change, confirm the service is running, the agent is connected and the reported version matches the target.
Windows and macOS endpoints are often laptops, workstations and servers managed through endpoint management tools, and they may be offline for long periods. Local upgrades on these systems are usually driven by the endpoint management platform or by an administrator running the installer under elevated rights. The operator needs local administrator rights or the equivalent deployment permission, a signed installer package obtained from the official source, and a way to confirm that users will not lose data during the restart. Confirm the installer names, silent install parameters, service behavior and any system extension or permission prompts for macOS in the current documentation.
- Administrator rights: local admin on Windows and an administrator account on macOS, often granted by the endpoint management tool.
- Installer integrity: verify the package signature and checksum from the official release before distribution.
- User impact: schedule upgrades outside working hours or defer them when a device is in use.
- Cannot do: it cannot run on devices that are powered off or outside your management, so those need a later pass.
- Verification: check that the agent service is running and the version is correct, and look for permission prompts that block collection.
After deployment, confirm the agent reports to the server and that events from the test group arrive as expected.
Wazuh agents also run on Solaris, AIX and HP-UX, and these platforms usually have older change controls, limited tooling and smaller host counts. Local upgrades here are often manual, and the decision to upgrade may depend on whether the host can still run the current agent at all. The operator needs privileged access on the host, the correct package for that operating system and architecture, and a documented back-out procedure. Confirm supported platform versions, package availability and install steps in the current documentation, since support for these systems can differ from the mainstream platforms.
- Support check: confirm that the target agent version supports the exact operating system release in use.
- Package availability: verify that a package exists for the platform and architecture before scheduling work.
- Privileged access: use the host's standard administrative account under change control.
- Cannot do: it cannot assume the same automation or remote tooling as Linux, Windows and macOS, so plan manual steps.
- Hosts with long lifecycles: record the reason for keeping an unsupported system and review it against your risk process.
After the upgrade, confirm the agent reconnects and that the host still reports the expected inventory and events.
What to prepare before the first agent moves
Agent upgrades touch every endpoint, so the preparation matters more than the upgrade command itself. The six items below give you a recoverable baseline, a clear picture of the fleet, and agreed owners before anything changes on a production host.
Server configuration and group backup
Produce a dated backup of the Wazuh server configuration, including ossec.conf, custom rules and decoders, and the agent group definitions with their shared configuration files. Agree with the Wazuh platform owner where the backup is stored and who can restore it. Check that the backup restores into a test server, because a backup that has never been restored is an assumption, not a recovery plan.
Agent inventory by version and reachability
Export a list of every agent with its installed version, operating system, assigned group and last check-in time. Mark agents that are disconnected, behind a NAT or on networks that block the server's communication port. Ask the endpoint operations lead to confirm which hosts are owned by whom, because remote upgrades will fail quietly on agents that never reconnect.
Custom agent configuration and local scripts
Review each agent's local configuration, custom log collection paths, active response scripts and any wrapper scripts that run during upgrades. Identify settings that a package upgrade could overwrite or that depend on a path that changes between versions. Agree with the application teams which local customizations must survive the upgrade and who signs off on them.
Test environment with each operating system
Build a test group that includes at least one agent for every operating system and architecture in the fleet, including any Solaris, AIX or HP-UX hosts. Run the upgrade path there first and record which steps differ by platform. The security engineering lead should approve the test results before any production group is scheduled.
Rollback plan with named owners
Write a rollback procedure for each agent group and each platform, with the previous package kept available and the person who can authorize a rollback named in advance. Define the change window for each group and the point at which an upgrade is stopped, such as a failure rate that the operations lead agrees to in advance. Keep the plan separate from the upgrade runbook so it can be read during an incident.
Communication plan for affected teams
Notify the system owners, application teams and the security operations center before each group is upgraded, and tell them what changes, when it happens and whom to contact if an agent stops reporting. Agree with the change advisory board how upgrade windows fit existing freezes. Send a closing note once the group is verified so that alerts about a missing or re-enrolled agent are not treated as incidents.
How to run the agent upgrade in waves, from pilot to full fleet
This sequence moves a Wazuh agent fleet to the target version in controlled groups, so each wave is checked before the next one starts and a failure stays contained to a small set of endpoints. Each step names the check that must pass and the rollback point still open at that step.
Confirm central components run the target version
Before any agent moves, confirm that the Wazuh indexer, server and dashboard all report the target version and that the server cluster, if you run one, is healthy on every node. Agents must not be upgraded to a version newer than the server they report to, so this check comes first. Record the current agent versions across the fleet as a baseline. The step is done when every central component reports the same target version and the baseline inventory is saved. Rollback point: the central components were already upgraded and backed up under the central upgrade procedure, so no agent has changed yet.
Select the pilot group across operating systems
Choose a pilot group that covers every operating system, architecture and deployment type in the fleet, including agents on cloud instances, on-premises servers, and any endpoints with unusual configurations such as custom ports or restricted egress. Confirm with the vendor documentation which upgrade method applies to each platform, since remote upgrades with WPK packages and local upgrades on individual systems have different prerequisites. The step is done when the pilot list is written down with the method assigned to each host. Rollback point: nothing has changed yet, so the pilot can be redefined freely.
Upgrade the pilot agents using the chosen method
Run the upgrade on the pilot hosts using the remote method the documentation describes, or the local package path for systems where remote upgrades are not supported. Keep a record of the command or API call, the time it was issued and the host it targeted. Do not start the next step until each pilot host has reported back or has been checked directly. The step is done when every pilot host has finished its upgrade attempt, whether it succeeded or failed. Rollback point: each agent can be reinstalled at its previous version from the package source you control, and that procedure should be tested on one pilot host before the wave begins.
Verify pilot status, version and alert flow
On the pilot group, check that each agent shows as active in the server, reports the target version, and keeps its group assignment and configuration. Generate a test event on each operating system and confirm that the alert reaches the indexer and appears in the dashboard. Compare the pilot's alert volume and types with the period before the upgrade to spot missing or duplicated events. The step is done when every pilot agent passes all three checks and the results are recorded. Rollback point: the pilot can be returned to its previous version while the rest of the fleet remains untouched.
Test custom rules and decoders on the pilot
Confirm that custom decoders, rules, CDB lists and active response scripts still fire on the upgraded pilot hosts. Use the wazuh-logtest tool against sample log lines for each custom rule and compare the output with the expected rule ID and level. Check that any local configuration overrides still apply after the agent package changed. The step is done when every custom detection that matters to your team fires as expected on at least one pilot host per operating system. Rollback point: the previous agent version and its configuration remain available for each pilot host, and any rule issue can be fixed on the server before the next wave.
Run a go or no-go review before each wave
Before every larger wave, hold a short review with the people who own the platform, security operations and the affected system owners. Review the pilot results, any failures and their causes, and the size and makeup of the next group, which your team sets based on the vendor documentation and your change policy. Record the decision and the named approver. The step is done when the wave is either approved with its target list or held until the failures are resolved. Rollback point: holding the wave keeps all untouched agents on their current version, and the decision record documents where the fleet stands.
Widen the upgrade in waves with checks
Upgrade each approved wave using the same method and verification steps as the pilot, watching agent connection status, version reporting and alert flow after each batch. Pause if agents go disconnected in larger numbers than expected, if the server reports enrollment or connection errors, or if a host fails repeatedly. The step is done when a wave has passed its checks and the next go or no-go review has been completed. Rollback point: each wave can be reverted host by host, and the untouched remainder of the fleet is unaffected.
Close the upgrade and reconcile the inventory
After the final wave, compare the agent inventory on the server with the baseline you saved at the start, and confirm that every endpoint reports the target version or has a documented exception. Investigate any agent that is missing, disconnected or on an older version, and record the reason and owner. Confirm the upgrade record is stored with the central component version, the wave decisions and the exceptions list. The step is done when the inventory reconciles with no unexplained gaps and the record is handed to operations. Rollback point: remaining exceptions can be handled individually with the same local or remote method, without reopening the completed waves.
How failed agents are found, retried and rolled back
Plan failure handling before the first wave starts, because a fleet upgrade fails in a few predictable ways. The most common are agents that never report back after the restart, agents that stay on the old version after the upgrade reports success, endpoints with restricted permissions or disconnected networks, and agent configuration that conflicts with the new version. Detect each one from the Wazuh server rather than from the endpoint. Compare the agent list, filtered by the version and status fields exposed through the API, against the wave's expected set, and treat any agent that is disconnected, never connected or still reporting the old version after the window closes as failed. Check the server's upgrade logs for the agents in that list, and note which operating system and group each belongs to, because failures usually cluster by platform or by network segment.
Retry through the same method first, once per agent and only after you understand the cause. A transient network interruption or a locked package manager often clears on a second attempt, but repeated retries against an endpoint with a permissions problem or a configuration conflict only add noise to the logs. Switch to a local upgrade on the endpoint when the remote path cannot reach the agent, when the agent is disconnected for a reason you cannot fix remotely, or when the remote job fails twice with the same error. Local upgrades need an operator with administrative rights on that host and a change record, so count them as manual work when you plan the wave. Confirm the exact local procedure for each operating system in the Wazuh documentation before the wave starts.
Decide on rollback per agent or per group based on the evidence. Rollback of agent binaries depends on the target version and on what the platform supports, so confirm in the Wazuh release notes and the agent upgrade documentation whether a downgrade path exists for your source and target versions and each operating system in the fleet. If it does not, the practical response to a bad release is to stop the wave, keep the affected agents on their current version, and hold the group's upgrade until a fixed release is available. If a rollback is supported, roll back one agent first to prove the procedure, then a group only when the same failure appears across the group. Record every rollback decision with its reason, because the auditors who review your change process will ask for it.
What makes agent upgrades take longer or cost more
This table compares the factors that change how much effort a Wazuh agent upgrade takes, and how each one shows up in a quote. Read each row as a question to answer about your own estate before asking for a fixed-scope price. The main takeaway is that agent count matters less than how many agents can be reached remotely, how many variants they run, and how much change control and testing sits around each wave.
| Driver | Effect on effort | What to ask for in a quote |
|---|---|---|
| Fleet size and spread across sites | More agents and more sites add waves, rollout monitoring and follow-up on agents that stay offline. Agents behind separate networks or time zones need their own change slots. | Count of agents by site and network segment, the wave plan, and how offline agents are tracked and re-queued |
| Number and mix of operating systems | Each operating system family and version needs its own package selection, test case and rollback check. Less common platforms such as AIX, HP-UX and Solaris usually need more hands-on work. | A per-platform breakdown of agents, the package and procedure for each, and which platforms are in scope for testing |
| Share of endpoints reachable only by local upgrade | Agents that cannot be reached by the manager's remote upgrade path need an engineer or a local procedure on each host, which scales with host count and access arrangements. | Count of agents needing local upgrade, the access method used (for example, privileged remote sessions or site visits), and who performs the work |
| Custom agent configuration and local scripts | Customized agent settings, groups, local scripts or service wrappers must be checked before and after each upgrade. Each unusual host type adds investigation time when an upgrade behaves differently. | An inventory of custom configuration, local scripts and groups, and a plan to confirm settings survive the upgrade |
| Change windows and freeze periods | Narrow windows force smaller waves and more coordination. Freeze periods push work into later windows, extend the calendar and can require repeated mobilization. | The allowed change windows, freeze dates, approval steps and whether work is billed per wave or as a single block |
| Number of server versions in use | Agents must be upgraded in step with the Wazuh server and indexer versions in the environment. Mixed server versions or an unfinished central upgrade add compatibility checks and can force waiting. | Current manager and agent versions, the target release, and whether the central components are upgraded first |
| Amount of testing the client requires | Pilot groups, sign-off on test results, retesting after failures and evidence for change records all add effort. Testing scope that covers many platforms multiplies this work. | The test matrix, the number of pilot hosts per platform, the acceptance criteria and the evidence format delivered at the end |
What do teams ask about Wazuh agent upgrade cost, time and staffing?
What drives the cost of a Wazuh agent upgrade?
Cost follows the number of endpoints, how many operating systems and agent versions are in the fleet, and how much change control each host needs. Remote upgrades with WPK packages cost less per host than hands-on local work, but the rollout plan, test hosts, rollback steps and evidence collection are work for someone either way. Ask any partner to price these as separate line items: planning, test wave, production waves, failure triage and documentation. One-time effort covers the first upgrade and the runbook. Recurring effort appears with each new 4.14 patch release, which Wazuh has shipped roughly every one to two months in 2026, so ask whether patch upgrades are included in a retainer or quoted separately.
Can our own team upgrade the agents without outside help?
Yes, if your team already runs Wazuh and has someone who can work through the agent upgrade documentation and handle each operating system you run. Teams that already manage agent groups and centralized configuration usually find the remote path familiar. The harder parts are sequencing waves across a large fleet, testing on representative hosts, and handling endpoints that fail without disrupting users. Outside help usually makes sense when the team lacks spare capacity during change windows or needs an independent record of the rollout for an assessment. Confirm your team's skills against the current Wazuh documentation before committing either way.
What does the client need to provide for an agent upgrade?
The work needs administrative access to the Wazuh server or API, the ability to list agents, groups and their versions, and access to the endpoints for any local upgrades. It also needs agreed change windows, named endpoint owners who can approve downtime for their systems, and a set of test hosts that match the production builds. Ask for a written inventory of operating systems, agent versions and network segments before scoping. Confirm with your own change board how many windows are available and whether they allow staged rollouts.
How long does one upgrade wave take?
Duration depends mainly on fleet size, how many hosts sit in each wave, the operating system mix and how quickly endpoint owners approve windows. Remote waves move faster than local ones, but each wave still needs health checks, a pause to read failures and a decision to continue. Waves are usually scheduled around business hours and change freezes, which often sets the calendar more than the technical work. Do not accept a duration without a wave plan that lists host counts, checks and rollback criteria. Confirm agent restart behavior and the expected upgrade time per platform in the Wazuh documentation before setting dates.
Can remote upgrades reach every endpoint in the fleet?
Not always. Remote upgrades depend on agents being online, connected to the Wazuh server and running a version that supports the upgrade path. Hosts that are offline, air-gapped, sleeping laptops, or running unsupported agent builds usually need a local upgrade or a reinstall. Some systems, such as older or less common operating systems, may need a different package or procedure. Build an exception list from the inventory before the first wave, and confirm platform support for each exception in the Wazuh agent upgrade documentation.
What happens when an agent fails to upgrade?
A failed agent should be isolated, diagnosed and either retried or handled with a local procedure, while the rest of the wave continues only if the failure rate stays within the agreed threshold. Typical causes include connectivity problems, disk space, permissions, package mismatches and endpoint security tools that block changes. Keep logs from the server and the endpoint, record the agent ID and host owner, and confirm the agent reports back to the manager after recovery. Agree in advance who decides to halt a wave and what rollback means for each platform, since a partially upgraded fleet needs a clear status.
What does a fixed-scope agent upgrade agreement include?
A fixed-scope agreement sets the fleet covered, the operating systems and agent versions in scope, the upgrade methods used, the waves, the test approach, the deliverables and the acceptance criteria, all written before work starts. DeployOpen plans, implements, tests and documents Wazuh deployments in your infrastructure, so the agreement should name the wave runbook, failure handling, the rollout record and any retest. It should also state what the client provides and what is excluded, such as hardware, endpoint fixes outside Wazuh or later patch releases. Ask for the scope, deliverables and timelines in writing and check that each exclusion is clear.
How DeployOpen scopes, runs and supports a Wazuh agent upgrade
DeployOpen plans agent upgrades as a scoped piece of work that follows the central components upgrade, not as a rollout run from a single console. We inventory agents by operating system and version, test the upgrade path on representative hosts, and hand over the runbook, rollback steps and evidence your operations team needs to repeat the work.
How we scope
- Inventory agent versions, operating systems and hosts that cannot take a remote upgrade, grouped by upgrade method
- Confirm the central components are upgraded and healthy before any agent wave is planned
- Agree in writing the host count, upgrade methods, test hosts, waves and retest criteria before work starts
How we build
- Test remote WPK upgrades and local upgrades on a pilot group for each operating system in your estate
- Build wave plans with agent group targeting, maintenance windows and a stop rule when failures rise
- Document failure handling for agents that stall, fail to reconnect or lose configuration, with tested recovery steps
How we hand over
- Deliver a runbook covering each upgrade method, the commands used, and the checks after each wave
- Provide a per-wave report listing upgraded, pending and failed agents with the cause of each failure
- Walk your operations team through the runbook and retest results so they can repeat the work independently
How we support
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts
- Ongoing support, upgrades and continuous testing are available as a retainer for later Wazuh releases
- Ask for the retainer terms, response expectations and included retesting in the written quote

