angela ceef5fb72c Grafana & PRTG latest updates 1 tahun lalu
..
img d318bba102 v7.2 bar gauge bug noted 3 tahun lalu
README.md ceef5fb72c Grafana & PRTG latest updates 1 tahun lalu
build-a-dashboard.md 32dc52265c Declutter notes for easier navigation 4 tahun lalu
custom-background-styles.md f9c3ea96a7 Fix image panel setup 4 tahun lalu
data-transfer-rates.md c408da2e1a Add @reuvygroovy multiplier 4 tahun lalu
dev-environment.md 83cbb4b2b8 Dev environment steps added 4 tahun lalu
enabling-ssl.md 0e30ab70c6 fullchain.pem preference for Grafana 4 tahun lalu
grouping-results.md 32dc52265c Declutter notes for easier navigation 4 tahun lalu
moving-grafana-to-another-server.md c8645b6c96 Moving Grafana to another server notes 3 tahun lalu
regex-query.md 2232be06e2 Regex query notes 4 tahun lalu
remove-bar-gauge-label.md d318bba102 v7.2 bar gauge bug noted 3 tahun lalu
remove-timeseries-label.md c05eee37c7 Add Time Series notes 2 tahun lalu
setup.md c881f77a20 Update setup.md 1 tahun lalu
sorting.md bf40a96ac4 Sorting graph legends 4 tahun lalu
troubleshooting.md 44eb9b92ab Detail unsigned plugins for PRTG plugin fix 2 tahun lalu
upgrading.md b9189f11ac Debian 11, now 2 tahun lalu

README.md

Grafana and PRTG

My notes + bits from the Grafana documentation and neuralfraud's wiki (which is sorely lacking in thorough documentation).

Dashboard

Old Dashboard

My setup:

Application Version
Grafana v9.3.6 (978237e7cb)
PRTG Plugin v4.0.4 (master branch from Github)
PRTG 22.4.81.1532+

Development / Testing Environment (see notes for setup):

Application Version
Grafana v9.3.6 (978237e7cb)
PRTG Plugin v4.0.4 (master branch from Github)
PRTG 22.4.81.1532+

^ The plugin is tested & working up to (at least) this Grafana version.

Upgrading Grafana

Note: When upgrading (the PRTG extension) from v4.0.3 to v4.0.4, some graphs may break due to the channel name change. To fix, I went in and re-added the channel for the affected visualizations.

Grafana also runs on Linux (which is easier to maintain + substantially lighter on resources), but since this is primarily for PRTG, it made the most sense (for me) to install it to PRTG's Windows Server.

Some of my notes will reference the Windows-install, as a result. If you use Grafana for mostly things other than PRTG, the Linux version is probably the best way to go!


Initial Setup


Build a Dashboard

Statistical

Visual

Troubleshooting

Preview Your Dashboard

While on the dashboard view, click the monitor icon; click once more to enter kiosk mode and remove the headers. ESC to quit kiosk mode.

Share the Dashboard

Click the arrow in the upper-right corner If you want the shared dashboard to refresh, append &refresh=3m to the address bar of your browser. By default, a username & password are required for previews. Apparently you can make "groups" that don’t require such - I've not yet set up.

Backup a Dashboard

Dashboards are kept in a .db file/database.

  • For a quick backup, click the Share button on a dashboard (arrow icon, top-right of the dashboard) > click the Export tab > Save to File
  • This tool saves all of the board JSON at once, but not the database - though a simple copy of C:\Program Files\GrafanaLabs\grafana\data\grafana.db will suffice for infrequent/manual backups.

Since its a database, if backed up in a private git repo, encrypt it. Eventhough the user passwords are hashed and salted, its better to add another layer of security - should the current hashing algorithm get broken in the future.

Add https to Grafana

Useful Links