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

Komponente REST API
Titel Unknown sites in host_config endpoints will now be marked as such
Datum 28.11.2022
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 2.1.0p17 2.2.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

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.

Zur Liste aller Werks