neuralfraud / grafana-prtg

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

undefined:undefined #55

Open m-vanson opened 7 years ago

m-vanson commented 7 years ago

Hi all,

I'm having the following issue. Whenever I try to add a datasource it always gives me an error during testing: undefined:undefined and the grafana log shows: t=2017-09-04T10:28:11-0400 lvl=info msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=GET path=/api/status.json status=401 remote_addr=172.30.128.1 time_ms=19 size=45 referer=http://172.30.80.100:3000/datasources/edit/2

These are my settings. I've tried all sorts of combinations with the checkboxes, no luck. image

The PRTG version: PRTG Network Monitor 14.4.12.3510+ Is that too old perhaps ?

neuralfraud commented 7 years ago

Make a user account. Give it read only access to all groups, then go back to the user editor and click the "show passhash" link on that page. Use that in grafana.

HTTP 401 means unauthorized. you're probably using the password instead of the passhash.

And for the love of god ....update!

On Mon, Sep 4, 2017 at 10:33 AM Solved-IT notifications@github.com wrote:

Hi all,

I'm having the following issue. Whenever I try to add a datasource it always gives me an error during testing: undefined:undefined and the grafana log shows: t=2017-09-04T10:28:11-0400 lvl=info msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=GET path=/api/status.json status=401 remote_addr=172.30.128.1 time_ms=19 size=45 referer= http://172.30.80.100:3000/datasources/edit/2

These are my settings. I've tried all sorts of combinations with the checkboxes, no luck. [image: image] https://user-images.githubusercontent.com/19775956/30030660-9c4d6be2-918e-11e7-88c3-54f13cc88801.png

The PRTG version: PRTG Network Monitor 14.4.12.3510+ Is that to old perhaps ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/neuralfraud/grafana-prtg/issues/55, or mute the thread https://github.com/notifications/unsubscribe-auth/AIFtN5BEpqoNWO4om-KCqFvPMGXHYLynks5sfApMgaJpZM4PL_jZ .

m-vanson commented 7 years ago

I didn't see the passhash on the user account page and I'm unfamiliar with PRTG.

On the update note...that's true...server monitors an old network, should already be migrated...you know the drill ;)

It's working now so thank you very much!

tomukasteris commented 7 years ago

It worked for me as well by using Passhash instead of password.