No graphs are displayed - "no data"
See original GitHub issueDescribe the bug After upgrading Grafana to 8.0.4 and plugin to 4.1.5 there are no graphs from Zabbix data source, all the graphs display “no data” despite proper data frame coming in.
Zabbix version or service configuration didn’t change. Requests are reaching Zabbix, replies are properly generated, they’re reaching Grafana. I tried changing graph type fom “Graph (old)” to “Time series”, tried creating a new graph, a new dashboard, even added a second copy of data source. Cleaned all the browser caches, logged out and back in. Nothing. Other data sources like Prometheus, Elastic, MSSQL are working fine and bringing proper data, although not data frame but tabular data.
Expected behavior Things were working fine with Grafana 7.5 and plugin 4.1.0. The expected result is proper data and graphs displaying.
Screenshots
Network data
Request:
{"queries":[{"refId":"A","format":"time_series","datasourceId":2,"rawSql":"SELECT CAST(itemid AS CHAR) AS metric, MIN(clock) AS time_sec, AVG(value) AS value FROM history_uint WHERE itemid IN (29644, 29647, 29649, 29650) AND clock > 1625302639 AND clock < 1625475439 GROUP BY (clock-1625302639) DIV 120, metric ORDER BY time_sec ASC","maxDataPoints":10000}]}
Response:
{"results":{"A":{"refId":"A","meta":{},"series":null,"tables":null,"dataframes":["QVJST1cxAAD/////6AMAABAAAAAAAAoADgAMAAsABAAKAAAAFAAAAAAAAAEDAAoADAAAAAgABAAKAAAACAAAAJwBAAADAAAAUAAAACgAAAAEAAAAsPz//wgAAAAMAAAAAAAAAAAAAAAFAAAAcmVmSWQAAADQ/P//CAAAABAAAAAHAAAAcmVzdWx0cwAEAAAAbmFtZQAAAAD0/P//CAAAADABAAAlAQAAeyJleGVjdXRlZFF1ZXJ5U3RyaW5nIjoiU0VMRUNUIENBU1QoaXRlbWlkIEFTIENIQVIpIEFTIG1ldHJpYywgTUlOKGNsb2NrKSBBUyB0aW1lX3NlYywgQVZHKHZhbHVlKSBBUyB2YWx1ZSBGUk9NIGhpc3RvcnlfdWludCBXSEVSRSBpdGVtaWQgSU4gKDI5NjQ0LCAyOTY0NywgMjk2NDksIDI5NjUwKSBBTkQgY2xvY2sgXHUwMDNlIDE2MjUzMDI2Mzkg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2spIEFTIHRpbWVfc2VjLCBBVkcodmFsdWUpIEFTIHZhbHVlIEZST00gaGlzdG9yeV91aW50IFdIRVJFIGl0ZW1pZCBJTiAoMjk2NDQsIDI5NjQ3LCAyOTY0OSwgMjk2NTApIEFORCBjbG9jayBcdTAwM2UgMTYyNTMwMjYzOSBBTkQgY2xvY2sgXHUwMDNjIDE2MjU0NzU0MzkgR1JPVVAgQlkgKGNsb2NrLTE2MjUzMDI2MzkpIERJViAxMjAsIG1ldHJpYyBPUkRFUiBCWSB0aW1lX3NlYyBBU0MifQAAAAQAAABtZXRhAAAAAAUAAACkAQAANAEAAMQAAABkAAAABAAAAO7+//8UAAAAPAAAADwAAAAAAAMBPAAAAAEAAAAEAAAAcP7//wgAAAAQAAAABQAAADI5NjUwAAAABAAAAG5hbWUAAAAAAAAAAGL+//8AAAIABQAAADI5NjUwAAAASv///xQAAAA8AAAAPAAAAAAAAwE8AAAAAQAAAAQAAADM/v//CAAAABAAAAAFAAAAMjk2NDkAAAAEAAAAbmFtZQAAAAAAAAAAvv7//wAAAgAFAAAAMjk2NDkAAACm////FAAAADwAAAA8AAAAAAADATwAAAABAAAABAAAACj///8IAAAAEAAAAAUAAAAyOTY0NwAAAAQAAABuYW1lAAAAAAAAAAAa////AAACAAUAAAAyOTY0NwASABgAFAATABIADAAAAAgABAASAAAAFAAAADwAAAA8AAAAAAADATwAAAABAAAABAAAAJT///8IAAAAEAAAAAUAAAAyOTY0NAAAAAQAAABuYW1lAAAAAAAAAACG////AAACAAUAAAAyOTY0NAASABgAFAAAABMADAAAAAgABAASAAAAFAAAAEgAAABQAAAAAAAAClAAAAABAAAADAAAAAgADAAIAAQACAAAAAgAAAAUAAAACAAAAHRpbWVfc2VjAAAAAAQAAABuYW1lAAAAAAAAAAAAAAYACAAGAAYAAAAAAAMACAAAAHRpbWVfc2VjAAAAABgEAABBUlJPVzE="]}}}
Software versions
Grafana | Zabbix | Grafana-Zabbix Plugin |
---|---|---|
8.0.4 | 5.0.13 | 4.1.5 |
Issue Analytics
- State:
- Created 2 years ago
- Comments:7
Top GitHub Comments
After upgrading the plugin to 4.2.2 the problem went away. I had 4.1.5 before, looks like it has been fixed in 4.2 branch without updating this thread.
I tried enabling “direct DB connection” (was disabled due to past bugs) and exactly the same thing.