The donut map object consists of two files:
- \webroot\includes\donut_alarms_only.htm
- \webroot\mapobjects\donut_font*.htm
If you were to create a custom map object from that. clone both donut_font*.htm files, change the name in the first line to reflect the missing acknowledged states. Do the same for the filenames.
File names
- \webroot\includes\donut_alarms_only_noack.htm
- \webroot\mapobjects\donut_font-dark_noack.htm
First line of the map object
<!--Status Donuts:All sensor states (No Acknowledged Sensors, dark text)-->
Content of includes\donut_alarms_only_noack.htm
<#id var="objid">
<div class="prtg-plugin simpledonut h200" data-plugin="prtg-simpledonut"
data-dataset='<#colorcode color="statusdown">:<#objectstatus name="downsens" id="@objid" varexpand="id" show="textraw" valueifempty="0">,
<#colorcode color="statuspartialdown">:<#objectstatus name="partialdownsens" id="@objid" varexpand="id" show="textraw" valueifempty="0">,
<#colorcode color="statuswarning">:<#objectstatus name="warnsens" id="@objid" varexpand="id" show="textraw" valueifempty="0">,
<#colorcode color="statusunusual">:<#objectstatus name="unusualsens" id="@objid" varexpand="id" show="textraw" valueifempty="0">'>
</div>
<div class="value-name-list">
<a href="/sensors.htm?filter_status=5" class="value-name-list_item">
<i class="item statusicon icon sensr"></i>
<span class="value"><#objectstatus name="downsens" id="@objid" varexpand="id" show="textraw" valueifempty="0"/></span>
<span class="item name"><#lang key="common.strings.nodestates.onsDown" default="Down"/></span>
</a>
<a href="/sensors.htm?filter_status=14" style='<#clusterdependent showfor=" clusterinstallation ">' class="value-name-list_item">
<i class="item statusicon icon sensq"></i>
<span class="value"><#objectstatus name="partialdownsens" id="@objid" varexpand="id" show="textraw" valueifempty="0"/></span>
<span class="item name"><#lang key="common.strings.nodestates.onsPartialDown" default="Down (Partial)"/></span>
</a>
<a href="/sensors.htm?filter_status=4" class="value-name-list_item">
<i class="item statusicon icon sensy"></i>
<span class="value"><#objectstatus name="warnsens" id="@objid" varexpand="id" show="textraw" valueifempty="0"/></span>
<span class="item name"><#lang key="common.strings.nodestates.onsWarning" default="Warning"/></span>
</a>
<a href="/sensors.htm?filter_status=10" class="value-name-list_item">
<i class="item statusicon icon sensp"></i>
<span class="value"><#objectstatus name="unusualsens" id="@objid" varexpand="id" show="textraw" valueifempty="0"/></span>
<span class="item name"><#lang key="common.strings.nodestates.onsUnusual" default="Unusual"/></span>
</a>
</div>
Note that the block with sensors.htm?filter_status=13 is missing, which will exclude the acknowledged Sensors.
Add comment