Fix: host groups not showing in problems panel (#1965)

This PR fixes 2 issues mentioned below.
Fixes #1943
Fixes #1946

## Problems Panel not showing host groups:


[src/panel-triggers/components/Problems/Problems.tsx](0355f40fc2/src/panel-triggers/components/Problems/Problems.tsx)

![Image](https://github.com/user-attachments/assets/2d5d8207-dcd6-4e80-aef3-a9eadf4d3dc9)

### How to reproduce

1. Go to `Zabbix data source features` dashboard
2. Open Problems panel
3. In the panel config enable host groups field
4. Host groups should show up in the table

## Triggers not showing


![Image](https://github.com/user-attachments/assets/4319ebc1-bbdb-4648-b7d5-269e82351804)

### How to reproduce

1. Go to explore and select the zabbix ds
2. Select `Triggers` Query type
3. Add `Backend` as a group
4. Add `/.*/` as host
5. There should be 2 average triggers
This commit is contained in:
Zoltán Bedi
2025-02-24 17:54:34 +01:00
committed by GitHub
parent 4774c315a8
commit 6034153046
2 changed files with 42 additions and 4 deletions

View File

@@ -0,0 +1,5 @@
---
'grafana-zabbix': patch
---
Fix problems panel not showing host groups