Hello, I want to customize a map for it shows only the equipment down. I copied as a model, googlemap 1.htm page from the C: \ Program Files (x86) \ PRTG Network Monitor \ webroot \ MapObjects
Here's the code:
<!--Geo Maps Custom: Geo Map Custom- DOWN--> <div class="map_object map_graph" id="<@itemid>" objectid="<@objectid>" subid="<@subid>" style="<#mapobject type="coordinates" subid="<@subid>" mode="<@editmode>">"> <#mapobject type="objectgrip" mode="<@editmode>"> <#mapobject type="htmlbefore" subid="<@subid>"> <#checkobjecttype objecttype="probenode,group,device" nicemessage="true" id="<@objectid>"> <div id="map-geomap-box" class="geomap <#selectionlist content="geomapprovider">"> <#selectionlist content="locationlist" id="<@objectid>" domobjectid="map-geomap-box" width="<@width>" height="<@height>" maxlegenditems="50"> </div> <#mapobject type="htmlafter" subid="<@subid>"> </div>
What are tags to add?
Article Comments
Attention: This article is a record of a conversation with the Paessler support team. The information in this conversation is not updated to preserve the historical record. As a result, some of the information or recommendations in this conversation might be out of date.
Note from Paessler Support: The below is not officially supported, nor recommended. It may work (then it will apply to all Maps & Geo Maps, or it may not work, and have other effects. Try this at your own risk!
Hello, I managed to make a map with only the down sites. Here is the code for those looking for the same thing. If you have any suggestions or ideas, I prenneur. :)
<!--Geo Maps TEST : Geo Map TEST - DOWN-->
<style>
.map-marker a{
background: none!important;
}
.map-marker{
border: 1px solid #666!important;
border-radius: 30px!important;
margin:0!important;
padding:0!important;
-moz-box-shadow: none!important;
-webkit-box-shadow: none!important;
box-shadow: none!important;
width: 12px!important; /* width of the symbol */
height: 12px!important; /* height of the symbol */
}
.map-marker.up,
.map-marker.paused,
.map-marker.unknown,
.map-marker.unusual,
.map-marker.undefined,
.map-marker.warn,
.map-marker.none{
display: none;
}
</style>
<div class="map_object map_graph" id="<@itemid>" objectid="<@objectid>" subid="<@subid>" style="<#mapobject type="coordinates" subid="<@subid>" mode="<@editmode>">">
<span>
<b><#objectproperty name="Name" id="<@objectid>"> : </b>
<#objectstatus name="downsens" id="<@objectid>">
<#objectstatus name="downacksens" id="<@objectid>">
</span>
<#mapobject type="objectgrip" mode="<@editmode>">
<#mapobject type="htmlbefore" subid="<@subid>">
<#checkobjecttype objecttype="probenode,group,device" nicemessage="true" id="<@objectid>">
<div id="map-geomap-box" class="geomap <#selectionlist content="geomapprovider">">
<#selectionlist content="locationlist" id="<@objectid>" domobjectid="map-geomap-box" width="<@width>" height="<@height>" maxlegenditems="500">
</div>
<#mapobject type="htmlafter" subid="<@subid>">
</div>
Jun, 2015 - Permalink
Hello,
Thank you very much for using PRTG. I'm very sorry, but this is not possible. Let's see if other users have the same wish, we will then put this on the wish list! Thank you for your feedback!
Torsten
Jun, 2015 - Permalink