Werk #22722 · Dec 1, 26
Agent updater: Fix failed automatic registration right after installation
After a fresh installation, the automatic registration of the agent updater could fail on Windows hosts, while the registration of the agent controller succeeded. The agent controller logged:
Agent Updater registration failed: [WinError 183] Cannot create a file when that file already exists: 'C:\ProgramData\checkmk\agent\config\cas'
Subsequent runs of the agent updater then reported that it is not registered at the deployment server.
This happened if certificates are configured in the ruleset Automatic agent updates. On the first start of the agent service, the agent updater plug-in and the registration started by the agent controller ran at the same time, and both tried to create the directory for the certificate store.
Hosts where the registration already failed are not registered automatically by
this fix. Register the agent updater manually with
check_mk_agent.exe updater register, or remove the connection with
cmk-agent-ctl.exe delete-all and restart the agent service to let the
automatic registration run again.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Agents
- Versions:
- 3.0.0b1Not yet releasedProUltimateUltimate + MTCloud