Skip to content

stylersnico/PRTG-API-v2-Grafana-Dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Grafana dashboard for PRTG API v2

The goal of this repository is to provide instruction to link your Grafana server and your PRTG monitoring server with the new V2 rest API. It will provide some dashboard to start with.

Experimental support

Some of the parts of this API are still experimental. Also, the new PRTG api is available on port 1616 by default and must be enabled.

Prerequisites

You need to install the Infinity datasource in Grafana. Please find the latest installation instructions directly on their website: https://grafana.com/grafana/plugins/yesoreyeram-infinity-datasource/?tab=installation

Exploring the PRTG API v2

The API reference is available inside your PRTG server here: https://monitoring.prtg.server:1616/api/v2/oas/#/

Configuring the datasource

Create a new datasource "prtg-v2" using the Infinity plugin. Don't configure the base URL. We will do it on each dashboard.

Configure the Bearer Token using a PRTG Api key in read-only. Then, configure the allowed hosts using your PRTG base URL with port: apiv2-1

After that, you can configure your Dashboard using this datasource like this example for showing all objects that are down on PRTG with only showing a subset of collumns: apiv2-2

You can have the full dashboard in the samples folder for showing current alerts, for example: currents-alerts

About

Grafana alerting dashboard integration with the PRTG API v2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published