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

undefined:undefined

Open m-vanson opened this issue 7 years ago • 3 comments

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 ?

m-vanson avatar Sep 04 '17 14:09 m-vanson

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 [email protected] 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 .

neuralfraud avatar Sep 04 '17 15:09 neuralfraud

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!

m-vanson avatar Sep 05 '17 07:09 m-vanson

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

tomukasteris avatar Sep 08 '17 23:09 tomukasteris