neuralfraud / grafana-prtg

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

How to: install this plugin the correct way in Grafana 8 with multiplier option #184

Open olsonnn opened 3 years ago

olsonnn commented 3 years ago

what not to do: install grafana 8: install plugin via : grafana-cli plugins install jasonlashua-prtg-datasource this installs the prtg plugin without multiplier option.

so how to install properly: remove the plugin

in /etc/grafana/grafani.ini put the following line: (make sure you don't have it twice configured)

[plugins] allow_loading_unsigned_plugins = jasonlashua-prtg-datasource

(if you skip this step the plugin is not loaded and you get a "plugin not found, no installed plugin with that id")

Restart grafana. and the plugin should load. Check if the multiplier option turns green. If not clear your browser cache!

i've spend hours on this. Hope it saves your time !

rajaseelan commented 2 years ago

Give this person a medal!

heimberg commented 1 year ago

I cannot get this to work, i can get data from the API endpoint using postman, but the plugin gives an error 502 bad gateway

olsonnn commented 1 year ago

I assume you checked this one? https://github.com/neuralfraud/grafana-prtg/wiki/Installation

heimberg commented 1 year ago

yes, i followed the wiki

liam-ng commented 2 months ago

For future references, here're some more remarks on installing the PRTG plugin (PRTG API version 24.1.92;1554+) on Grafana 8

you should see PRTG plugins with tags: installed, unsigned, angular on your web console

Remarks on data source configurations:

After pressing save & test, you should see a green banner showing your PRTG API version and you should be able query using the data explorer. If you see error 400 bad request, check the configuration again

mp-hh commented 6 days ago

Grafana has disabled Angular as of the April 2024 release so the PRTG plugin doesn't work.

You need to add the following to get it working.

#################################### Security #################################### [security] angular_support_enabled = true