We have edited a custom sensor as below.

we would like the PAUSED hidden (works for the status) but the icon color is still blue.....

<!--Status Icons: Name and Status (on White) (custom-nopaused)-->

<div class="map_object map_icon mapicon_status_white" id="<@itemid>" objectid="<@objectid>" subid="<@subid>" style="<#mapobject type="topleftcoordinates" subid="<@subid>" mode="<@editmode>">">
	<#mapobject type="objectgrip" mode="<@editmode>">
	<#mapobject type="htmlbefore" subid="<@subid>">
	<span>
		<#objectproperty name="Name" id="<@objectid>">:
		<#objectstatus name="downsens" id="<@objectid>">
		<#objectstatus name="partialdownsens" id="<@objectid>">
		<#objectstatus name="downacksens" id="<@objectid>">
		<#objectstatus name="warnsens" id="<@objectid>">
		<#objectstatus name="upsens" id="<@objectid>">
		<#objectstatus name="unusualsens" id="<@objectid>">
		<#objectstatus name="undefinedsens" id="<@objectid>">
	</span>
	<#mapobject type="htmlafter" subid="<@subid>">
</div>


Article Comments

The map designer developer and I have both tried out your code and it seems to be working fine. Are there any other customizations you have done to the maps or your PRTG CSS that could be affecting it? Have you tried maybe installing a freeware version and seeing if the code will work on that?

You should also try and clear your browser cache to see if that helps.


Jun, 2014 - Permalink

No other customizations.

If we apply this to a section, it will show the up and down, but the status icon color will be blue as there are paused elements.. We want the icon to show green or red only and not do anything for paused.


Jun, 2014 - Permalink

Could you please send us screenshots to support@paessler.com and refer to this KB so we can see better what you are seeing? Also, please send over the file that you have this code in so we can take a look at what might be going wrong.


Jun, 2014 - Permalink