grafana-prtg icon indicating copy to clipboard operation
grafana-prtg copied to clipboard

Panels displaying the same results from differing queries

Open SamuelmAsh opened this issue 7 years ago • 7 comments

I have a number of single stat panels displaying the results of different channels of a sensor, however the panels are all displaying the results of channel 2. When i check the query sent away i can see that it does return the entire device listings and should be able to parse it per channel but it is not.

Any advice?

Kindest Samuel

SamuelmAsh avatar Jul 06 '18 09:07 SamuelmAsh

Can you provide some more details on the query? What does the api request return? Have you tried templating this and replicating per channel? That seems to have better results in regard to filtering out data and reduces the need for queries while promoting flexibility of changes.

Yakelixir avatar Aug 14 '18 01:08 Yakelixir

i have the same issue image

value that represents the value of channel =2

selecting the channel manually gives the same result for all channels using templates gives same result

edit: it only seems to work if time range is with 15-30 minutes edit2: its getting more weird: select time range manually from now to now-420m also works image

420 seems max

Edit3: this all seems to happen if data is not complete for a certain time. Running 1day now with all data for all channels: no issues anymore

olsonnn avatar Aug 21 '18 08:08 olsonnn

Whoa, thanks @olsonnn This issue kept me busy for a few hours until I changed the time range. All my channels showed the same values and I looked into the PRTG metrics, channel definitions, etc. but never thought about this.

theiltho avatar Oct 25 '18 11:10 theiltho

I am having this same issue, but the time range does not seem to fix it. It started with an upgrade to Grafana 6.0

mizike2 avatar Mar 12 '19 18:03 mizike2

@mizike2 is your dataset complete? no big gaps in data? running v6 here without issues

olsonnn avatar Mar 12 '19 18:03 olsonnn

I went into the history of PRTG for the sensor and channel, and there is a gap in history. For the past 2 days, there was no data (because the device was offline). Am I safe to assume that it will return to normal operation after the channel has sufficient data?

image

mizike2 avatar Mar 12 '19 18:03 mizike2

yep. will be fine again once data comes back in....

olsonnn avatar Mar 12 '19 18:03 olsonnn