Werk #16388: host: query on mk_inventory no longer causing crash

Komponente REST API
Titel host: query on mk_inventory no longer causing crash
Datum 24.01.2024
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
Checkmk versions & editions
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p21 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p39 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Previously, when you had a host that had no check running, calling the following endpoint would cause a crash.

GET /domain-type/host/collections/all?columns=mkinventory

This werk addresses this issue by preventing the crash and now returns an appropriate response.

Zur Liste aller Werks