User Guide - neuralfraud/grafana-prtg GitHub Wiki
Templating
Templating works on a limited basis - you create one or more variables representing either Group, Device, Sensor or Channel using the following syntax:
(group|device|sensor|channel):(\*)|(group|device|sensor)=([a-zA-Z0-9\s-_]+)
Example 1: Show all devices within a given group
To show all groups, create a variable named "group" with the query "group:*".
By itself, a group variable really doesn't do anything, so you should also add a device variable too.
Create a new variable named "device" with the query "device:group=$group".
Before you can use template variables, you have to update your metric queries to use the template variables. E.g., for templated group, open the metric editor, select the "group" menu, and select the item named "$group". Do the same for each respective menu and save your panel.
Example Screenshot: