Werk #14172: BI: Fixed broken host_search/child-with filtering

Komponente BI
Titel BI: Fixed broken host_search/child-with filtering
Datum 02.11.2022
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Inkompatibel - Manuelle Interaktion könnte erforderlich sein
Checkmk versions & editions
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p16 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p30 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

The host search option "The found hosts' (with child filtering)" was broken since the BI rework 2 years ago. Any attempt to save this setting lead to an exception.

The fix for this problem required a small change in the API specification for the refer_to field

  • "refer_to": "host" -> "refer_to": {"type": "host"}
  • "refer_to": "child" -> "refer_to": {"type": "child"}
  • "refer_to": "parent" -> "refer_to": {"type": "parent"}
  • "refer_to": {was broken} -> "refer_to": {"type": "child_with", "conditions": {..}}

Zur Liste aller Werks