neuralfraud / grafana-prtg

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

Get Error Connection failed by Edit data source #6

Closed heydemar closed 8 years ago

heydemar commented 8 years ago

Hello, i have a Problem so add a data source.

i get error:

Connection failed Could not connect to /api/datasources/proxy/2/status.json?username=mheyder&password=****+&undefined

If i switch the Access to direct i get:

Unknown error error.config is undefined

Thanks for help!!

neuralfraud commented 8 years ago

What version of Grafana are you using?

heydemar commented 8 years ago

Good Morning,

Grafana 2.6.0 PRTG 15.4.21.5482

neuralfraud commented 8 years ago

The only thing i can think of with the limited information you've provided is that the url to the PRTG API may be wrong or the plugin installed in the wrong folder - the config has static references so it must be in a folder called "PRTG".

screenshot?

cakered commented 8 years ago

I ran in to this error, and it was because I hadn't specified /api on the end of the URL

neuralfraud commented 8 years ago

@cakered - good find. I have updated the Wiki page to clarify that the URL should include "/api".

Thank you.