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 value from time to time #430

Closed
2 tasks
kevXZY opened this issue Jul 19, 2017 · 11 comments
Closed
2 tasks

No value from time to time #430

kevXZY opened this issue Jul 19, 2017 · 11 comments

Comments

@kevXZY
Copy link

kevXZY commented Jul 19, 2017

I'm submitting a ...

  • [*] Bug report
  • Feature requestdd
  • Question / Support request

Software Versions

Grafana Zabbix Grafana-Zabbix Plugin
4.4.1 3.2.6 3.5.1

What did you do?

We created a zabbix dashboard on grafana. From time to time we get no value or N/A on text field that are items pulled every 1 sec in zabbix.

I couldn't find any errors in grafana/zabbix logs.
Please advise.

image

Thank you for your help

@alexanderzobnin
Copy link
Collaborator

Can you check zabbix response in browser dev tools? What does zabbix return?

@sesom42
Copy link

sesom42 commented Aug 9, 2017

I have very often the same error. I have created a playlist with many dashboards. After a run, almost all dashboards have missing values or they are completely empty. Can somewhere a debug output of the Zabbix plugins set?

@alexanderzobnin
Copy link
Collaborator

@sesom42 did you notice errors, for example, "Zabbix API Error" in grafana? This may be caused by php limits on Zabbix server.

@sesom42
Copy link

sesom42 commented Aug 10, 2017

@alexanderzobnin no API error messages are displayed. The server is dimensioned to suit PHP needs. I've looked at it more closely. Grafana first requests '/api/dashboards/db/'. Then it retrieves for every widget '/api/datasources/proxy/2'. The answer to this request is sometimes only '{"jsonrpc": "2.0", "result": [], "id": 1}'. Sometimes '/api/datasources/proxy/2' is not even requested. It looks like more as an bug in Grafana itself.

@alexanderzobnin
Copy link
Collaborator

@sesom42 yes, you should check history/trend api queries. Some requests are cached (items, hosts, but not history).

@David-SpreenICT
Copy link

David-SpreenICT commented Nov 14, 2018

Hello everybody,

@alexanderzobnin Excuse me to re-fire this old thread but it's the only threat I find regarding the issue.

Has anybody found a solution to the rather high ammount of "no value" or "N/A" results in the grafana dashboard?

I have the same issue as @sesom42 and even in higher versions (currently using Grafana 5.3.4)
Can anybody give me some more information to create a more stable dashboard?

Thank you in advance

@kevXZY
Copy link
Author

kevXZY commented Nov 14, 2018

Hello

Sorry for not following back on this issue.. I must have forgotten.

I think that the issue originated from the browser. @David-SpreenICT , try to add the zabbix api url into exceptions, deactivate any adblocker etc... Verify that Grafana can connect without restrictions to Zabbix's API URL (FW rules etc...)

@David-SpreenICT
Copy link

Hello Neomh,

The "No Value" shows up on just a couple of the gauge's.
When the CPU gauge (for example) shows a nice value, the memory could go in to "No value" and after a 15 seconds refresh both could work fine... Then for about 4 of 5 refreshes the CPU gauge could go in to "No value" and the following refresh (15 seconds) will show a value again.

There is no add-blocker active, this would mess up all of the gauges and grafana has data so no FW issue's.

My collegue and I are thinking it should have something to do with the refresh time of the pages / gauge's.

Could you guy's give me an example of your refresh timers or the settings of your "Override relative time" for each gauge?

Many thanks for the effords,
Sincerely, David

@David-SpreenICT
Copy link

David-SpreenICT commented Nov 30, 2018

@neoMH

Sorry for the really late response, but I haven't had the time to research this more.
Today is the deadline I need to deliver the Grafana / Zabbix package, it will not fail of this issue but its more of cherry on top i'd like.

I have tested if the issue's persist with using a different browser (Firefox) and different machine's.
The "N/A" / "No Data" keep on showing up on every device with different browsers.

I have also tested what would happen if I enable Direct DB connection in the Zabbix Data source, but nothing really change's. The "N/A" keep showing up.
image

As you can see in the screenshot the following error was shown when I inspect the Dashboard in chrome


(4) metrics_panel_ctrl.ts:177 Panel data error: TypeError: Cannot read property 'name' of null
at eval (zabbixDBConnector.js:169)
at Qt (lodash.js:639)
at Function.Ka [as map] (lodash.js:9553)
at convertGrafanaTSResponse (zabbixDBConnector.js:168)
at ZabbixDBConnector.handleGrafanaTSResponse (zabbixDBConnector.js:127)
at eval (datasource.js:202)


Do you guy's have anymore bright idea's as what I can do to fix the N/A / No Value?
See below for more screenshots of how I set up this guage:

image

image

image

image ( The zabbix trigger is set to poll every 5 secons, as I want "Almost" realtime data is set the history to 5 seconds wich should work according to the grafana documentation.)

And as you can see, the screenshots before was of one dashboard with auto refresh off.
Below is a screenshot of the same dashboard after an automatic refres (15 sec)

image

@alexanderzobnin
Copy link
Collaborator

Hm... Try to upgrade to latest version, it seems that was fixed.

@alexanderzobnin
Copy link
Collaborator

Ah, sorry. That was fixed, but not released yet.
#571

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

No branches or pull requests

4 participants