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

Component REST API
Title host: query on mk_inventory no longer causing crash
Date Jan 24, 2024
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.3.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
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.

To the list of all Werks