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.
300.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Libraries & Map

Votes:

0

Your Vote:

Up

Down

Hi

I would like to know if it is possible to include libraries into a map. It seems that only devices can be included into

Thanks for your reply

Regards

Tombolini Alberto

group libraries maps

Created on Dec 28, 2012 7:04:42 PM by  Tombo (0) 1



3 Replies

Accepted Answer

Votes:

0

Your Vote:

Up

Down

Using "Libraries in Maps" is on our wishlist and should be available in 2013.

Created on Dec 29, 2012 11:18:46 PM by  Dirk Paessler [Founder Paessler AG] (10,983) 3 5




Votes:

0

Your Vote:

Up

Down

Ant-PJ,

Let me reference you some code that a user submitted to use as a custom HTML piece in the map.

<!--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>

Just change "LibID" three times in the script above with the ID number of the Library you want to use.

Let me know if this works for you.

Benjamin Day
Paessler Support

Created on Mar 7, 2019 3:29:10 AM by  Benjamin Day [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.