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

Component Core & setup
Title Fix wrong edition reported via livestatus in enterprise sites running the Nagios core
Date Jan 19, 2024
Checkmk Version 2.3.0b1 2.2.0p21
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Affected 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.

To the list of all Werks