neuralfraud / grafana-prtg

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

Cannot read property '1' of null #145

Open fschnei966 opened 4 years ago

fschnei966 commented 4 years ago

Hey Guys!

I have the problem that my graphs are only partially displayed. Sometimes yes, sometimes no. I have a red exclamation mark with the error "Cannot read property '1' of null". Any ideas? I just updated the plugin too. Before that I had the error only on individual systems.

image

If I go on the error, I get the following info:

image

The plugin is also set up correctly & I also get the sensors displayed when selecting data in the dashboard.

Thanks!

iOut1aw commented 4 years ago

I have same issue, i see that Grafana is getting Data from sensors, but don't show it in graphs image

iOut1aw commented 4 years ago

Fixed this by change Date format in PRTG, check #142

KayGt3 commented 4 years ago

Hello, i checked the date format and it's correct.

Grafana_error PRTG_Timezone

This is the Grafana config: Grafana_Config

Anybody can help me?

Thanks!!!

forever765 commented 4 years ago

I have not encountered this problem, I checked the PRTG settings and found that the date format is [Use System Settings]. So I checked the Query Inspector in Grafana, my datetime format is [2/3/2020 10:47:19 AM], Please refer it.

image

KayGt3 commented 4 years ago

I found this kb from Paessler: https://kb.paessler.com/en/topic/77458-are-there-alternatives-to-maps

I set time format to MM/DD/YYYY HH:MM:SS (AM/PM), now it works!

Thanks!

iamburakcinar commented 4 years ago

have a same problem here, changed time date format to MM/DD/YYYY HH:MM:SS (AM/PM), but didn't help me.

KayGt3 commented 4 years ago

have a same problem here, changed time date format to MM/DD/YYYY HH:MM:SS (AM/PM), but didn't help me.

Did you checked with Query Inspector on Grafana? Check the datetime value and make it sure that is the same as configured in PRTG.