Werk #15721: Fix wrong edition reported via livestatus in enterprise sites running the Nagios core

Komponente Core & setup
Titel Fix wrong edition reported via livestatus in enterprise sites running the Nagios core
Datum 19.01.2024
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
Checkmk versions & editions
2.3.0b1 Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p21 Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

This change fixes a bug in the Nagios Core edition detection logic which could occur when using the Nagios core with another edition than the Raw Edition. This is a rare use case, but can happen temporarily during the migration from the Raw Edition to an Enterprise Edition.

The bug manifests itself by reporting the wrong edition via the livestatus interface. This can be observed with the following query:

lq "GET status\nColumns: edition"

The edition column was introduced in 2.2.0.

Zur Liste aller Werks