Werk #13968: Unknown sites in host_config endpoints will now be marked as such

Component REST API
Title Unknown sites in host_config endpoints will now be marked as such
Date Nov 28, 2022
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.2.0i1 2.1.0p17
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

Having a host configured with an unknown site would return a 500 status code error on endpoints such as "/domain-types/host_config/collections/all". This is common in a distributed monitoring environment. Instead the site field under the "extensions" and "attributes" key will now return the site id prefixed with "Unknown Site:". This matches the behaviour of the GUI.

To the list of all Werks