Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No graphs are displayed - "no data" #1238

Closed
p0wertiger opened this issue Jul 5, 2021 · 7 comments
Closed

No graphs are displayed - "no data" #1238

p0wertiger opened this issue Jul 5, 2021 · 7 comments

Comments

@p0wertiger
Copy link

p0wertiger commented Jul 5, 2021

Describe 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

2021-07-05 11_20_53-Elasticsearch overview - Grafana

2021-07-05 11_17_51-Explore - Grafana

2021-07-05 11_18_09-Logger_ Custom graphs

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//CAAAABAAAAAHAAAAcmVzdWx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AAEAAAAAUAAAAyOTY0NAAAAAQAAABuYW1lAAAAAAAAAACG////AAACAAUAAAAyOTY0NAASABgAFAAAABMADAAAAAgABAASAAAAFAAAAEgAAABQAAAAAAAAClAAAAABAAAADAAAAAgADAAIAAQACAAAAAgAAAAUAAAACAAAAHRpbWVfc2VjAAAAAAQAAABuYW1lAAAAAAAAAAAAAAYACAAGAAYAAAAAAAMACAAAAHRpbWVfc2VjAAAAABgEAABBUlJPVzE="]}}}

Software versions

Grafana Zabbix Grafana-Zabbix Plugin
8.0.4 5.0.13 4.1.5
@p0wertiger p0wertiger changed the title No graphs are displayed No graphs are displayed - "no data" Jul 5, 2021
@p0wertiger
Copy link
Author

I tried enabling "direct DB connection" (was disabled due to past bugs) and exactly the same thing.

@CLU91
Copy link

CLU91 commented Jul 6, 2021

Cheers, i encounter a similar problem. I set up two brand new Ubuntu Servers (internal) and installed Zabbix 5.0.13 on the first machine and Grafana 8.0.4 with Grafana-Zabbix Plugin 4.1.5 (literally the same configuration) on the second machine.

I could make it work to receive data but i have sporadically "NO DATA" to the fields. After a few seconds it's grabbing values again and everything turns back. I have 40 machines with 6 different pages and propably around 70 values that gets grabbed.

Now you can imagine... my dashboards look like enlightened christmas tree throughout the day :S

Hope you can help

regards CLU

@CLU91
Copy link

CLU91 commented Jul 6, 2021

Getting the same issue here after a plugin update. For me, disabling Direct DB connection 'fixed' it, but of course dashboarding rendering is much slower with that off.

Edit: looks like I am running into #1221

Direct DB Connection is turned off for me. I realized when i play with the "Time Range" it is changing. There are some values where i want to have instant change like ON/OFFLINE Status of Hosts. Unfortunately i couldn't figure out how to set it up properly for it to work without any problems.

@fernandogobah
Copy link

+1

@p0wertiger
Copy link
Author

Any updates on this? This requires me to downgrade Grafana to 7.5 to get the graphs back again

@neothematrix
Copy link

I'm having a very similar issue, still trying to analyze, can you try playing with the "max data points" option? try putting a very high number so that the calculated "interval" is not too big, in my case it seems to fix the issue, but I'm still doing some tests:

image

@p0wertiger
Copy link
Author

p0wertiger commented Sep 1, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants