grafana-zabbix
grafana-zabbix copied to clipboard
the number of triggers is displayed instead of the number of events by triggers
Describe the bug I'm trying to display the event count by host group. I turn to triggers, and for some reason I get a number of triggers, not problems. examples for understanding - in the screenshot.
Expected behavior I turn to triggers, and for some reason I get a number of triggers, not problems.
Screenshots

Network data request:Object url:"api/datasources/7/resources/zabbix-api" method:"POST" data:Object datasourceId:7 method:"trigger.get" params:Object Software versions
| Grafana | Zabbix | Grafana-Zabbix Plugin |
|---|---|---|
| 7 | 5.0 | 4.0.2. |
maybe you can tell me where to me and what code to fix for this?