When i add an object to a map and display the channels, only the last value is shown. Is there a way to show the maximum values in the table map, since the last values are 0 and i want to show the maximum values in the table and the actual values in the graph?


Article Comments

Dear user

Please use this API call:

/api/table.csv?id=<ID>&content=channels&columns=objid,name,value,minimum,maximum&count=*

Please replace <ID> with the sensor ID, but without the <> brackets.


Feb, 2015 - Permalink

How to put it in the map? Using only custom HTML or by using the device tree, properties and HTML?


Feb, 2015 - Permalink

Dear user

Map objects use HTML and therefore can use javascript. Please use the JSON variant of the API call

/api/table.json?id=<ID>&content=channels&columns=objid,name,value,minimum,maximum&count=*

to get a JSON object whose content can be accessed in the map object.

A general how-to for customizing map objects can be found here: https://helpdesk.paessler.com/en/support/solutions/articles/7600006526503

Please also note that this API call example only shows the core part of the call. A full API call requires additional information (PRTG webserver address and PRTG user credentials.) Please find the API documentation via the PRTG menu Setup | PRTG API, tab "HTTP API".


Feb, 2015 - Permalink