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>
Article Comments
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>">
Apr, 2019 - Permalink
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
Apr, 2019 - Permalink
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.
Apr, 2019 - Permalink
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
Apr, 2019 - Permalink