Werk #19200 · May 4, 26
Windows agent: coomand line returns proper exit code for agent updater
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.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Inventory
- Versions:
- 3.0.0b1Not yet releasedAll Editions
- 2.5.0p2All Editions