This is an option that I got from PRTG support. I like this option best because the time is the PRTG server time and when the time no longer matches your time, you know that the map is stale and needs to be refreshed manually.
1. Create new html file named ServerTime.htm in path
C:\Program Files (x86)\PRTG Network Monitor\webroot\mapobjects
2. Edit Your Map, on the left there is now a group called Custom, inside is the time object, Drop this on your map.
Save and enjoy.
Feel free to hack on the html code to make the time look the way you want it to look.
(Code for file in #1)
<!—Custom: Time-->
<div class="map_object map_icon2 map_icon_large" id="<@itemid>" objectid="<@objectid>" subid="<@subid>" style="<#mapobject type="coordinates" subid="<@subid>" mode="<@editmode>">;
background:-moz-linear-gradient(top, #e0e0e0 0%,#cccccc 100%)!important; /* FF3.6+ */
background:-webkit-linear-gradient(top, #e0e0e0 0%,#cccccc 100%)!important; /* Chrome 10+, Safari 5.1+ */
background:-ms-linear-gradient(top, #e0e0e0 0%,#cccccc 100%)!important; /* IE10+ */
background:linear-gradient(top, #e0e0e0 0%,#cccccc 100%)!important; /* W3C */
text-align:left;
border:none;
width:145px;
height:28px;
padding-left:3px;
padding-bottom:3px;
padding-right:3px;
font-weight:900;
border-right:2px solid #fff;
">
<#mapobject type="objectgrip" mode="<@editmode>">
<#mapobject type="htmlbefore" subid="<@subid>">
<span><span style="font-size:20px"><#system type="time"></span>
</span>
<#mapobject type="htmlafter" subid="<@subid>">
</div>
Add comment