What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Can I filter Sensors of one Device with tags?

Votes:

0

I try filter sensors of SDWAN using the following code, but doesn't work. It's possible do it?

<!--Custom: Sensor Status - Name: Total UP/DOWN SDWAN -->

<div class="map_object map_icon mapicon_status_transparent" id="<@itemid>" objectid="<@objectid>" subid="<@subid>" style="<#mapobject type="topleftcoordinates" subid="<@subid>" mode="<@editmode>">">
<#mapobject type="objectgrip" mode="<@editmode>">
<#mapobject type="htmlbefore" subid="<@subid>">
  
     <span class="label"><#objectproperty name="Name" id="<@objectid>">:</span>
                  <#objectstatus name="devicenum" id="<@objectid>">
                  <#objectstatus name="upsens" id="<@objectid>">
                               
                               
                  <#objectstatus name="downsens" id="<@objectid>"
                  filter_tags="@tag(<@tagfilterstring> %2bINET)"
                               filter_tags="@tag(<@tagfilterstring> %2bMPLS)">
                  
    
                <#mapobject type="htmlafter" subid="<@subid>">
    <#mapobject type="htmlafter" subid="<@subid>">

</div>

prtg sensors tags

Created on Mar 29, 2019 2:47:23 PM

Last change on Apr 1, 2019 8:46:07 AM by  Torsten Lindner [Paessler Support]



4 Replies

Votes:

1

Hello Lucas,

The filter_tags attribute cannot be entered multiple times, the values need to be separated by commata, like this:

filter_tags="@tag(pingsensor,xmlexesensor)"


Kind regards,
Felix Saure, Tech Support Team

Created on Apr 1, 2019 11:05:38 AM by  Felix Saure [Paessler Support]



Votes:

0

It's possible filter tags of sensors in a device to show in a map object, if i use the following code, for example, it doesnt work, how can i do that? or its impossible?

<!--Custom: Sensor Status - Name: Total UP/DOWN SDWAN -->

<div class="map_object map_icon mapicon_status_transparent" id="<@itemid>" objectid="<@objectid>" subid="<@subid>" style="<#mapobject type="topleftcoordinates" subid="<@subid>" mode="<@editmode>">">
<#mapobject type="objectgrip" mode="<@editmode>">
<#mapobject type="htmlbefore" subid="<@subid>">
  
     <span class="label"><#objectproperty name="Name" id="<@objectid>">:</span>
                  <#objectstatus name="devicenum" id="<@objectid>">
                  <#objectstatus name="downsens" id="<@objectid>" filter_tags="@tag(MPLS, INET)">
                  
    
                <#mapobject type="htmlafter" subid="<@subid>">
    <#mapobject type="htmlafter" subid="<@subid>">

Created on Apr 1, 2019 1:56:45 PM

Last change on Apr 2, 2019 6:12:35 AM by  Felix Saure [Paessler Support]



Votes:

1

Hello Lucas,

I'm afraid that writing customizations is not covered by our support. There is an open feature request to rework the map designer, you can upvote this feature here to increase the prioritisation.


Kind regards,
Felix Saure, Tech Support Team

Created on Apr 2, 2019 6:17:10 AM by  Felix Saure [Paessler Support]



Votes:

0

I think that you could implement the filtering of the sensors, in this case, all the sensors of the device appear, and i need that only those with the MPLS or LAN tag would appear.

Created on Apr 2, 2019 1:51:12 PM




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.