CMK version: Checkmk Raw Edition 2.2.0p14 OS version: Rocky 9.2
We are in process of upgrading our systems to version 2.2 and have been using the below API to get the status of the server being in downtime. Due to changes in API in version 2.2 we are facing issue in getting the downtime status for the host.
You should still be able to use that query on the view “hoststatus”.
The field (or column) “host_in_downtime” contains the information if the host is in scheduled downtime.