neuralfraud / grafana-prtg

A PRTG Datasource plugin for Grafana
181 stars 75 forks source link

Table with json data does not update in TEXT and RAW mode #85

Open olsonnn opened 6 years ago

olsonnn commented 6 years ago

What Grafana version are you using? grafana-5.0.0-beta1.linux-x64 or grafana-4.6.3.linux-x64 What datasource are you using? prtg datasource What OS are you running grafana on? centos7.3 What was the expected result? updated table data after manual refresh or periodic refresh What happened instead? data was not updated. only after ctrl f5

Browser: Opera 51 / Chrome 63 Column styles also applied

Issue was closed before but still exists: and a playlist is not an option due to slow refresh/flicker screen https://github.com/neuralfraud/grafana-prtg/issues/51

olsonnn commented 6 years ago

Update: i've found out that it works fine in query mode METRICS. It does not update in query mode RAW and TEXT

ohmar commented 6 years ago

I'm seeing the same issue.

aaron-lrm commented 6 years ago

I have noticed this as well, when the query mode for a panel is Text or Raw, it does not refresh with the rest of the dashboard items, only when the whole page is reloaded. Items with a query type of Metrics do refresh properly. I'm currently using Grafana 5.0.2.

badbart commented 6 years ago

Same Problem here, only hard refresh is loading new Data

scfigg commented 6 years ago

Same problem here. Unfortunately, that's the only way I can get my down sensor table to show.

badbart commented 6 years ago

I helped myself, for now, using an PRTG Map via an iFrame. Not really pretty but i get a Table with my Alarms and Warnings this way.

BestBackwards commented 6 years ago

Hey @neuralfraud , I'm new to Grafana (let alone your plugin) but am facing the same issue as mentioned here and here #51

bashers222 commented 6 years ago

I helped myself, for now, using an PRTG Map via an iFrame. Not really pretty but i get a Table with my Alarms and Warnings this way.

My issue is the other way round. PRTG wont scale onto big screens well so I'm using grafana to pull from PRTG All other grafana dashboards auto update, but this board wont do that in the TEXT mode with JSON

neuralfraud commented 5 years ago

This is probably because the "cache" is staying cached ...but since 4.0.4 cache objects actually expire; thus the table content should change once the http request timestamp agest past the timeout threshold in seconds.

Does this still occur in version 4.0.4 ?

forever765 commented 5 years ago

@neuralfraud I tested it for this. I set the refresh interval to 30 seconds, the table panel will always be loading, and occasionally it will refresh successfully.

forever765 commented 5 years ago

@neuralfraud I paid attention to the table problem. When the PRTG alarm is cleared, Grafana takes 2 minutes or more to refresh, although the panel keeps prompting loading. Expecting you to fix this bug.

BestBackwards commented 5 years ago

@forever765 I have completely given up with the Grafana-PRTG plugin. If you ever find this working please let me know but from what I understand @neuralfraud no longer maintains the source

olsonnn commented 5 years ago

@BestBackwards Mr @neuralfraud recently solved some very important bugs. Still maintaining whenever he can! Last commit is just a few days ago..

procajlok commented 10 months ago

So... i still facing this issue with PRTG plugin.