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

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

use of htmlbefore in custom version of Live Graphs for Devices #selectionlist

Votes:

0

Your Vote:

Up

Down

I am not able to use the <#mapobject type="htmlbefore" subid="<@subid>"> as paramater for the filter_tags attribute of #selectionlist in my custom version of the Live Graphs for Groups/Devices (No Header) mabobject.

Here is the complete mapobject code:

<!--Custom Map Objects: Live Graphs for Groups/Devices (No Header)-->

<div class="map_object map_table reaload_wo_params" id="<@itemid>" objectid="<@objectid>" subid="<@subid>" style="overflow:auto;<#mapobject type="coordinates" subid="<@subid>" mode="<@editmode>">">
  <#mapobject type="objectgrip" mode="<@editmode>">
  <#checkobjecttype id="<@objectid>" objecttype="sensor,device,group,probenode" nicemessage="true">

 <div class="sensorgraphs">
    <#selectionlist
    id="<@objectid>"
    content="sensorgraphs"
    width="250"
    height="125"
    graphid="0"
    filter_tags="<#mapobject type="htmlbefore" subid="<@subid>">"
    styling='graphstylefile=graphstyling.htm datastylefile=graphdatastyling.htm refreshable=false'
    >
  </div>
  <#mapobject type="htmlafter" subid="<@subid>">
  <br style="clear:both">
</div>

custom htmlbefore mapobject tags

Created on Nov 21, 2013 9:12:58 AM by  Daniel Knippers (0) 1 1

Last change on Nov 22, 2013 1:32:35 PM by  Torsten Lindner [Paessler Support]



2 Replies

Accepted Answer

Votes:

0

Your Vote:

Up

Down

Hello,

thank you very much for your KB-Post. This is a very good idea, requires a little change though:

<!--Custom Map Objects: Live Graphs for Groups/Devices (No Header)-->

<div class="map_object map_table reaload_wo_params" id="<@itemid>" objectid="<@objectid>" subid="<@subid>" style="overflow:auto;<#mapobject type="coordinates" subid="<@subid>" mode="<@editmode>">">
  <#mapobject type="objectgrip" mode="<@editmode>">
  <#checkobjecttype id="<@objectid>" objecttype="sensor,device,group,probenode" nicemessage="true">
  <#mapobject type="htmlbefore" subid="<@subid>" var="htmlbefore">
 <div class="sensorgraphs">
    <#selectionlist
    id="<@objectid>"
    content="sensorgraphs"
    width="250"
    height="125"
    graphid="0"
    filter_tags="@htmlbefore"
    styling='graphstylefile=graphstyling.htm datastylefile=graphdatastyling.htm refreshable=false'
    varexpand="filter_tags"
    >
  </div>
  <#mapobject type="htmlafter" subid="<@subid>">
  <br style="clear:both">
</div>

This should work.
Best regards.

Created on Nov 22, 2013 2:34:17 PM by  Torsten Lindner [Paessler Support]

Last change on Nov 22, 2013 2:34:31 PM by  Torsten Lindner [Paessler Support]



Votes:

0

Your Vote:

Up

Down

Thank you very much. Did not know of the var and varexpand option.

Created on Nov 22, 2013 3:09:30 PM by  Daniel Knippers (0) 1 1



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.