Branch: refs/heads/2.1.0
Home:
https://github.com/tribe29/checkmk
Commit: 8106830cb6252fcaca4606a65c0979ec0f66c884
https://github.com/tribe29/checkmk/commit/8106830cb6252fcaca4606a65c0979ec0…
Author: Andreas Boesl <andreas.boesl(a)tribe29.com>
Date: 2022-11-02 (Wed, 02 Nov 2022)
Changed paths:
A .werks/14172
M cmk/gui/plugins/wato/bi_config.py
M cmk/gui/plugins/wato/bi_valuespecs.py
M cmk/utils/bi/bi_lib.py
M cmk/utils/bi/bi_search.py
Log Message:
-----------
14172 FIX BI: Fixed broken host_search/child-with filtering
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
<tt>refer_to</tt> field
<ul>
<li>"refer_to": "host" -> "refer_to":
{"type": "host"}</li>
<li>"refer_to": "child" -> "refer_to":
{"type": "child"}</li>
<li>"refer_to": "parent" -> "refer_to":
{"type": "parent"}</li>
<li>"refer_to": {was broken} -> "refer_to":
{"type": "child_with", "conditions": {..}}</li>
</ul>
Change-Id: I4e52e9247b2db1eecc1864fb4bb48a4268d60e46