Tips&Tricks: Can I filter a sensor list for several tags?

Votes:

0

Your Vote:

Up

Down

When using the PRTG web interface, I would like to view a list of sensors that carry several tags. For example, I want to show sensors only that have both a myTag and and bandwidthsensor tag.

Also, is it possible to only show sensors of a certain type that carry a certain tag?

filter prtg tags tips

Created on Nov 15, 2011 1:29:06 PM by  Daniel Zobel [Paessler Support] (21,383) 3 3



1 Reply

Accepted Answer

Votes:

0

Your Vote:

Up

Down

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

Created on Nov 15, 2011 1:50:05 PM by  Daniel Zobel [Paessler Support] (21,383) 3 3

Last change on Nov 15, 2011 2:27:47 PM by  Daniel Zobel [Paessler Support] (21,383) 3 3



Please log in or register to enter your reply.


Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.

PRTG
Network Monitor
Intuitive to Use.
Easy to manage.

150.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Visit
www.paessler.com

What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

Top Tags


View all Tags