Hello everyone!
Do you know how to add channel information to Custom HTML Element In Map?
I want to collect channels data from sensor to html table like this :
<style type="text/css">
.tg {border-collapse:collapse;border-spacing:0;border-color:#ccc;}
.tg td{font-family:Arial, sans-serif;font-size:14px;padding:10px 5px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;border-color:#ccc;color:#333;background-color:#fff;}
.tg th{font-family:Arial, sans-serif;font-size:14px;font-weight:normal;padding:10px 5px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;border-color:#ccc;color:#333;background-color:#f0f0f0;}
.tg .tg-v0hk{font-size:15px;font-family:Arial, Helvetica, sans-serif !important;}
</style>
<table class="tg" style="undefined;table-layout: fixed; width: 464px">
<colgroup>
<col style="width: 146px">
<col style="width: 171px">
<col style="width: 147px">
</colgroup>
<tr>
<th class="tg-v0hk">DS</th>
<th class="tg-v0hk">Free<br></th>
<th class="tg-v0hk">Capacity</th>
</tr>
<tr>
<td class="tg-v0hk"></td>
<td class="tg-v0hk"></td>
<td class="tg-v0hk"></td>
</tr>
<tr>
<td class="tg-v0hk"></td>
<td class="tg-v0hk"></td>
<td class="tg-v0hk"></td>
</tr>
<tr>
<td class="tg-031e"></td>
<td class="tg-031e"></td>
<td class="tg-031e"></td>
</tr>
<tr>
<td class="tg-031e"></td>
<td class="tg-031e"></td>
<td class="tg-031e"></td>
</tr>
<tr>
<td class="tg-031e"></td>
<td class="tg-031e"></td>
<td class="tg-031e"></td>
</tr>
<tr>
<td class="tg-031e"></td>
<td class="tg-031e"></td>
<td class="tg-031e"></td>
</tr>
</table>
How to do IT? I can't find this information in PRTG API document
Thanks in advance!
Hi,
you would have to go with custom map objects here. You might check the existing object Channels of a Sensor in section Data Tables of the Map Designer which summarizes all channels of a sensor.
Best regards
Feb, 2016 - Permalink