grafana-prtg
grafana-prtg copied to clipboard
How to: install this plugin the correct way in Grafana 8 with multiplier option
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
- grafana-cli plugins remove jasonlashua-prtg-datasource
- download from (https://github.com/neuralfraud/grafana-prtg/archive/refs/heads/master.zip)
- unzip and put in the plugin dir
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 !
Give this person a medal!
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
I assume you checked this one? https://github.com/neuralfraud/grafana-prtg/wiki/Installation
yes, i followed the wiki
For future references, here're some more remarks on installing the PRTG plugin (PRTG API version 24.1.92;1554+) on Grafana 8
- Check Grafana plugin directory in the configuration file at /etc/grafana/grafana.ini (default /var/lib/grafana/plugins in ubuntu22)
- Use chmod to update folder / file permissions to gain access if needed
- When updating the grafana.ini, make sure to remove the ; at the start of the line
- If you still cannot see the PRTG plugin (Grafana web console > Connections or > Plugins and data) after updating the .ini, check your config again and try one of the following:
- Run service grafana-server restart
- Run systemctl restart grafana-server.service
- Run sudo reboot
- Run chown -R grafana:grafana /var/lib/grafana/plugins then run chmod -R 700 /var/lib/grafana/plugins (I didn't verify this)
you should see PRTG plugins with tags: installed, unsigned, angular on your web console
Remarks on data source configurations:
- As per the plugin manual, the url should be something like http://{PRTG IP/ hostname}/api
- Use passhash, not password. To see your user passhash, go to PRTG console > System Administration > User Account > {Your User} > User Account Settings > Click Show passhash
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