Werk #11855: The updating of the Windows agent no longer causes the disappearing of directories in the ProgramData
Component | Checks & agents | ||||
Title | The updating of the Windows agent no longer causes the disappearing of directories in the ProgramData | ||||
Date | Mar 8, 2021 | ||||
Level | Prominent Change | ||||
Class | Bug Fix | ||||
Compatibility | Compatible - no manual interaction needed | ||||
Checkmk versions & editions |
|
Previously, cleaning routine of the Windows agent was called too late: after the sending of the signal "SERVICE_STOPPED". This may lead to the disappearing of some directories in %programdata%/checkmk/agent, because deleting of directories, such as tmp, is the integral part of the cleaning phase of the update routine. If the cleaning will happen after the Windows agent restarted, then the cleaning will remove working directories and the Windows agent will not be able to function properly.
With this release the error had been fixed.