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 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk-Version | 2.0.0p30 2.1.0p16 2.2.0b1 |
Level | Kleine Änderung |
Klasse | Bugfix |
Kompatibilität | Inkompatibel - Manuelle Interaktion könnte erforderlich sein |
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": {..}}