neuralfraud / grafana-prtg

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

Addin Plugin - Red bar, no text #64

Open ChrisABC opened 6 years ago

ChrisABC commented 6 years ago

I'm just trying to setup a simple demo of against our PRTG install (17.3.33.x) with Grafana 4.6.1

I've made the PRTG registry edit and restarted the core service, copied the Grafana plug to:

E:\Grafana\grafana-4.6.1\data\plugins\jasonlashua-prtg-datasource

I've then restarted grafana-server (running from command line whilst testing) and gone to add the plugin. However, the test fails with just a blank red bar

grafana

I've logged into to PRTG with the credentials I'm using, so I'm happy they are correct.

neuralfraud commented 6 years ago

If you logged into PRTG with those credentials then you’ve probably missed the “passhash”

Go to the user admin and click the link “show passhash” – it’s near the password field I believe.

Jason

From: ChrisABC [mailto:notifications@github.com] Sent: Friday, November 3, 2017 11:08 AM To: neuralfraud/grafana-prtg grafana-prtg@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [neuralfraud/grafana-prtg] Addin Plugin - Red bar, no text (#64)

I'm just trying to setup a simple demo of against our PRTG install (17.3.33.x) with Grafana 4.6.1

I've made the PRTG registry edit and restarted the core service, copied the Grafana plug to:

E:\Grafana\grafana-4.6.1\data\plugins\jasonlashua-prtg-datasource

I've then restarted grafana-server (running from command line whilst testing) and gone to add the plugin. However, the test fails with just a blank red bar

https://user-images.githubusercontent.com/33352907/32380729-b6e19a8e-c0a8-11e7-9122-79b36b739929.JPG

I've logged into to PRTG with the credentials I'm using, so I'm happy they are correct.

— 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/64 , or mute the thread https://github.com/notifications/unsubscribe-auth/AIFtN0i-Fk55L_xZ2i0D6ML5pkwcUdXYks5syyxWgaJpZM4QROoW . https://github.com/notifications/beacon/AIFtN1Yd44lSaTyhoKntNwpEcIuqZ8Wxks5syyxWgaJpZM4QROoW.gif

ChrisABC commented 6 years ago

Ah, sorry, missed that completely - thank you.

I'd be happy to contribute some more to the Wiki to improve the documentation.

chinupf commented 6 years ago

Hi Jason,

I have the same problem in a centos-hosted environment, with same prtg version running.

Our PRTG uses AD authentication and i have created a local user for testing, clipped everything into the fields but the red bar of death still shows up. any ideas or logs where i could dive into?

image

neuralfraud commented 6 years ago

@chinupf You have to use the PRTG passhash, do not use an active directory account to acceess PRTG from grafana - there's no reason to do that. Create an account just for grafana, and give it read-only permissions on all of the device groups/probe devices and make sure those permissions are inherited by child devices/groups.

chinupf commented 6 years ago

@neuralfraud i did exactly that: created test account locally within PRTG, gave it (inherited) read only on a probe, and then entered username/passhash into the mask. direct access without proxy. couldnt find any errors reported in /var/log/grafana.log, is it possible to log the event somewhere?