New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

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

Free PRTG
Download >>

 

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


adjust Data Table with filter

Votes:

0

Your Vote:

Up

Down

Hi there,

i would like to achieve a Alarms Small view but then with an additional filter to exclude sensors with a certain tag.

I've created a HTM file but it doesn't work properly:

<!--Data Tables: Alarms small filter CS-->

<div class="map_object map_table" id="<@itemid>" objectid="<@objectid>" subid="<@subid>" style="overflow:auto;<#mapobject type="coordinates" subid="<@subid>" mode="<@editmode>">">
  <#mapobject type="objectgrip" mode="<@editmode>">
  <#mapobject type="htmlbefore" subid="<@subid>">
  <#checkobjecttype objecttype="probenode,group,device" nicemessage="true" id="<@objectid>">
  <div class="maptablecontainer" style="overflow:hidden">
    <#lang key="html.dashboard.alarms" default="Alarms" var="alarms">
    <#lang key="html.dashboard.warnings" default="Warnings" var="warnings">
    <#objectstatus name="downsens" id="0" show="htmllink" var="alarmcount">
    <#objectstatus name="warnsens" id="0" show="htmllink" var="warningcount">
    <#objectproperty name="name" var="objname" id="<@objectid>">
    <b><#inserthtml html="@alarmcount @alarms, @warningcount @warnings, (@objname)" varexpand="html"></b>
		
    <#table tableid="dashalarmtable_filterCS"
      content="sensors"
      id="<@objectid>"
      columns="downtimesince,device,sensor"
      count="50"
      sortby="downtimesince"
      links="false"
      sortable="false"
      infoheader="false"
      filter_tags="@tag(<@tagfilterstring>)"
      filter_status="5"
      filter_status="4"
      filter_status="13"
      filter_status="14"
      filter_status="10"
      filter_tags="@tag(-CS)>"
  </div>
  <#mapobject type="htmlafter" subid="<@subid>">
</div>

In my sample the tag would be CS as I do not want them to show up in the list.

What would be wrong in my code?

Regards, Ronald.

maps prtg table

Created on Nov 3, 2017 7:54:10 AM by  it_infra (0) 1

Last change on Nov 3, 2017 11:14:36 AM by  Stephan Linke [Paessler Support]



1 Reply

Votes:

0

Your Vote:

Up

Down

Hi there,

The filter_tags property is duplicated, it can only occur once. Please remove the following line:

filter_tags="@tag(<@tagfilterstring>)"

...it should work afterwards :)


Kind regards,
Stephan Linke, Tech Support Team

Created on Nov 3, 2017 2:17:53 PM by  Stephan Linke [Paessler Support]



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.