Werk #15235: Missing agent sections in rare upgrade scenario
Component | Checks & agents |
Title | Missing agent sections in rare upgrade scenario |
Date | Feb 6, 2023 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk Version | 2.2.0b1 2.1.0p21 2.0.0p34 |
Level | Trivial Change |
Class | Bug Fix |
Compatibility | Compatible - no manual interaction needed |
This fixes missing agent sections when users upgrade from a 1.6.0 systemd Checkmk agent package to a 2.0.0 xinetd package. Since from 1.6.0 to 2.0.0 we changed the default network service from xinetd to systemd, this is a very rare scenario.
In case it did happen the systemd socket was not stopped during the upgrade, preventing the xinetd service from binding to the port. This resulted in a partially working monitoring (as the systemd socked was running).
However, services using chached data would go to stale (e.g. "NTP Time") and the agent updater would no longer be triggered.