grafana / grafana-zabbix

Zabbix plugin for Grafana dashboard
http://play.grafana-zabbix.org
Apache License 2.0
2.08k stars 458 forks source link

Zabbix Problems widget - acknowledge works but page wont refresh #1904

Open williamstelzer opened 3 weeks ago

williamstelzer commented 3 weeks ago

Describe the bug Hello, we recently have been upgraded our Grafana from 8.5.x to 9.5.16 and from 9.5.16 to 11.3.0 and in Grafana 11 we experienced an issue while trying to acknowledge a zabbix problem using Zabbix Problems Widget.

Observing the query, the API who executes event.acknowledge runs successfully but the widget/dash do not refresh after the acknowledge like the image below: Image

When we perform f5 in the page, the Widget loads the messages: Image

We have an environment with more older Grafana 8.5.26 plugin 4.2.10 - zabbix 6.0.33 and right after the ack message, he instantly refreshs the widget and show the ack performed:

I noticed that in grafana 8.5.26, after the event.acknowledge call, he perform more four requests to zabbix, possible because he auto-refreshed or intentionally executed those calls to update the screen:

Image

1- problem.get: Image

2- trigger.get Image

3- event.get Image

4- alert.get Image

This issue was tested and reproduced in: Grafana 9.5.16 - plugin 4.5.1 - Zabbix 7.0.4 Grafana 11.3 - plugin 4.5.5 - Zabbix 7.0.4 Grafana 9.5.16 - Plugin 4.5.5 - Zabbix 6.0.33

Steps to reproduce: 1- Open or create a dashboard with Zabbix Problems Widget in versions listed above 2- Select an event 3- Acknowledge with a message

All those tests were performed in a valid domain name, in grafana-server IP address with and without web proxy and result was the same.

Please let me know if this is a known issue. If not, tell me if you need more information for reproducing

Galelli commented 2 weeks ago

I have the same problem with plugin 4.5.2.

MauSMartinez commented 2 weeks ago

I got the same problem using Grafana 9.5.16. Zabbix plugin 4.5.5. And Zabbix 7.0.5.