Werk #15235: Missing agent sections in rare upgrade scenario
Komponente | Checks & agents |
Titel | Missing agent sections in rare upgrade scenario |
Datum | 06.02.2023 |
Checkmk-Edition | Checkmk Raw (CRE) |
Checkmk-Version | 2.2.0b1 2.1.0p21 2.0.0p34 |
Level | Kleine Änderung |
Klasse | Bugfix |
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen |
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.