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

Relating to Libraries in Maps

Votes:

0

Good Day,

Why when inserting the custom object, does my group objects seem distorted.(The actual icons of the library object) Please advise soonest. The code I used was posted and displayed below,

<!--Custom Map Objects: Library LibID-->
 
<div class="map_object map_table <#sensor type="colorclassofstate" prefix="map_objectstate_" id="<@objectid>">" id="<@itemid>" objectid="<@objectid>" subid="<@subid>" style="overflow:hidden;<#mapobject type="coordinates" subid="<@subid>" mode="<@editmode>">">
  <#mapobject type="objectgrip" mode="<@editmode>">
  <#mapobject type="htmlbefore" subid="<@subid>">
  <#checkobjecttype objecttype="probenode,group" nicemessage="true" id="<@objectid>">
  <div id="viewport">
<div id="libTree" class="libTree prtg-plugin" 
  data-plugin="libtree" 
  data-objectid="LibID"
  data-lib-name='Library'
  data-view-type='<#system type="groupviewsize" varexpand="overwrite" overwrite="@grpvs">'
  >
<!-- 
   {"objects":<#table 
      id="LibID"
      output="json"
      count="*"
      subcheck="1"
      noraw="1"
      content="library"
      sortby="probegroupdevice"
      filter_basetype="@ntxt('sensor')"
      columns="objid,name,access=treejson,probegroupdevice=treejson,basetype,icon,favorite,fold,devicenum=textraw,groupnum=textraw,totalsens=textraw,upsens=textraw,downsens=textraw,partialdownsens=textraw,warnsens=textraw,pausedsens=textraw,unusualsens=textraw,undefinedsens=textraw,downacksens=textraw,condition,status=textraw,message=textraw,info,priority,libkind,liblinkedid">
    }
 -->
</div>
    </div>
  <#mapobject type="htmlafter" subid="<@subid>">
</div>

libraries maps prtg

Created on Jun 29, 2020 12:59:19 PM

Last change on Jun 30, 2020 8:44:13 AM by  Matthias Kupfer [Paessler Support]



1 Reply

Votes:

0

Hi Mike,

Thanks for your post.

First, I have included a "code-markup" so that your code is properly formatted and readable.

It seems you are using the code as provided in this Knowledge-Base article: https://kb.paessler.com/en/topic/39883-libraries-in-maps

As also stated in this article, you have to replace all three occurrences of "LibID" with the actual ID of the library you want to include.


Kind regards,
Matthias Kupfer - Team Tech Support

Created on Jun 30, 2020 8:53:40 AM by  Matthias Kupfer [Paessler Support]




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.