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.
Article Comments
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 :( ?
Sep, 2014 - Permalink
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.
Sep, 2014 - Permalink
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.
Sep, 2014 - Permalink