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
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.0.0p30 2.1.0p16 2.2.0b1
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required

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