neuralfraud / grafana-prtg

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

Cannot read property 'data' #143

Open EggMcDragon opened 5 years ago

EggMcDragon commented 5 years ago

Hi,

with the grafana-prtg plugin version 4.0.3 and the PRTG Network Monitor 19.4.54.1506 x64

I´ll get the following error if I Explore the PRTG Data Source: Cannot read property 'data' of undefined

grafana_prtg_error

kgb4ps99 commented 4 years ago

I'm getting this same error. In troubleshooting, I got rid of SSL on the prtg web server and switched the datasource to http:// and everything worked fine.

kgb4ps99 commented 4 years ago

Wish I had waited a minute... I used With CA Cert and provided the SSL cert used by PRTG. image

EggMcDragon commented 4 years ago

Hi,

after a lot of tryes we get it worked. But it takes up to 1hour before getting the first datas. We also have the same problem if we set up a new sensor on prtg it takes around 1 hour befor we can fatch that data.

This are our credentials that works for us now: Snag_4afe19d

danbrad commented 4 years ago

@kgb4ps99 Did you use the prtg.cert or the root.pem from the certs folder?

To be honest, neither of them seem to work for me though..

kgb4ps99 commented 4 years ago

I used the prtg cert. And personally, I had to have "Skip TLS Verify" on.

danbrad commented 4 years ago

Thanks!

On Mon, 16 Dec 2019, 14:20 kgb4ps99, notifications@github.com wrote:

I used the prtg cert. And personally, I had to have "Skip TLS Verify" on.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/neuralfraud/grafana-prtg/issues/143?email_source=notifications&email_token=AACZVSBHPXOP4YPTP6RAX33QY6FEHA5CNFSM4JSSJTFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG63PAI#issuecomment-566081409, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACZVSAGUPAXGRKCZYRW3ATQY6FEHANCNFSM4JSSJTFA .