This article applies to PRTG Network Monitor 9
The information in this article is provided for your information only. It is intended for advanced users. Systems may change at any time, so the procedures described below may not work with future versions of PRTG.
Filter Sensor Lists by Several Tags
In the PRTG web interface, when you choose Sensors | By Tag | ... from the main menu, PRTG calls a URL which shows a sensor list filtered by the selected tag. For example,
/sensors.htm?filter_tags=@tag(bandwidthsensor)
shows a list of all sensors which are tagged bandwidthsensor.
Using this mechanism, you can add additional tags to this filter in order to extend the list. For example,
/sensors.htm?filter_tags=@tag(bandwidthsensor,snmptrafficsensor)
will show a combined list containing all sensors tagged bandwidthsensor or snmptrafficsensor.
In order to make tags obligatory (similar to a Boolean AND operator), add a + sign in front of each tag. Note: The + sign has to be URL-encoded! So, use %2b instead. For example,
/sensors.htm?filter_tags=@tag(%2bbandwidthsensor,%2bsnmptrafficsensor)
will show a combined list containing only sensors tagged bandwidthsensor and snmptrafficsensor.
Filter Sensor Lists by Tag and Type
You can combine these calls also with the filters that are applied when you choose Sensors | By Type | ... from PRTG's main menu. For example,
/sensors.htm?filter_type=ping
shows a list of all sensors of the type "Ping".
Combine this with tags if you wish. For example,
/sensors.htm?filter_type=ping&filter_tags=@tag(myTag)
will show a list of all sensors of the type "Ping" which are tagged myTag.
See Also
PRTG 9 Manual: Libraries
Add comment