Explore the latest product updates and best practices at our hybrid Checkmk Conference #12 from June 16-18, 2026 – Register here

Werk #19200: Windows agent: coomand line returns proper exit code for agent updater

Component HW/SW inventory
Title Windows agent: coomand line returns proper exit code for agent updater
Date May 4, 2026
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0p2
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT

The Windows agent command line (check_mk_agent updater) always returned exit code 0 regardless of whether the agent updater process succeeded or failed. This made it impossible for external automation or monitoring to detect updater failures based on the process exit code.

Starting with this release, the Windows agent captures the actual exit code of the spawned agent updater process and propagates it back to the caller. The check_mk_agent updater command now returns the real exit code, allowing scripts and orchestration tools to reliably detect success or failure.

To the list of all Werks