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

Custom Map Object > Table with values from Library?

Votes:

0

Hi,
i have seen this KB entry, i need a other way to show a data table, like the error one displaying the sensors from a library.

What in the HTML code i must change to get a table instead a tree and is there any documentation for the HTML stuff?

Is it possible to change the font size etc ?

Here my test code for the tree

<!--Custom Map Objects:Custom Test 01-->

<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" nicemessage="true" id="<@objectid>">

  
<div id="viewport">
<div id="libTree" class="prtg-plugin toplistgraph" 
  data-plugin="toplist" 
  data-objectid="<#mapobject type="htmlbefore" subid="<@subid>">"
  data-lib-name='Library'
  data-view-type='<#system type="groupviewsize" varexpand="overwrite" overwrite="@grpvs">'
  data-controls-parent='#viewport'
  data-hide-controls="true"
  data-objects='<#table 
    id='<#mapobject type="htmlbefore" subid="<@subid>">'
    output='json'
    count='*'
    subcheck='1'
    noraw='1'
    content='library'
    sortby='downtimesince'
    filter_basetype='@ntxt('sensor')'
    columns='group,device,sensor,downtimesince,status,lastvalue,minigraph,message'>'
  >
    </div>
  </div>
  <#mapobject type="htmlafter"  subid="<@subid>">
</div>

Thank you for any help
Volkan

EDIT by PAESSLER: Adjusted formatting.

custom-map-object library table

Created on Aug 27, 2014 7:49:41 PM

Last change on Aug 28, 2014 7:46:37 AM by  Konstantin Wolff [Paessler Support]



3 Replies

Votes:

0

After asking two of the developers who work on the tables in our Ajax interface and who have designed the libraries, this is unfortunately not possible to build as a custom map object.

Created on Sep 2, 2014 12:58:19 PM by  Greg Campion [Paessler Support]



Votes:

0

Ok, but... not ok :(

I need a way to seperate the sensors in the map tables for different departments. Here is a example why:

A Server with a webserver, a database and the webseite himself, i need to give Teams/departments own "views" of the sensors for his Monitoring NOC dashboards:

- Webserver > Server Team - Database > SQL Specialists - Webseite > Devs

If this not works, i must create a html page that pulls out the data from the api and Displays in the html custom object?

Thats not nice :( ?

Created on Sep 2, 2014 3:48:02 PM



Votes:

0

If you only want sensors that are specific to departments to show in the maps, the easiest way to do this is to have the map run in the security context of someone in that group. If you set up the map in this fashion, only the sensors that they are allowed to see will show up in the map objects.

Created on Sep 3, 2014 8:46:57 AM by  Greg Campion [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.