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

Component BI
Title BI: Fixed broken host_search/child-with filtering
Date Nov 2, 2022
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required
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": {..}}

To the list of all Werks