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

Werk #5274: cmk-update-agent: prevent saving state file to wrong directory on windows

Component Agent bakery
Title cmk-update-agent: prevent saving state file to wrong directory on windows
Date Feb 26, 2018
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.5.0i3 Checkmk Pro, Checkmk Ultimate MT
1.4.0p26 Checkmk Pro, Checkmk Ultimate MT

The Agent Updater would accidently save its cmk-update-agent.state to C:\etc if this directory was existant. This could lead to an implausible update state. Virtually the Agent Updater would lose its registration information.

After an update or a manual reinstallation to a newly baked agent, a new registration might be required.

However, you might want to delete the cmk-update-agent.state located at C:\etc after the problem has been fixed.

To the list of all Werks