What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Change FontSize of Status Icons

Votes:

0

Is is possible to reduce the font size of the "Sensor Message only on Status Related Background"? We are using a big monitor and a map solution 1920x1080 and like to show a lot of devices in our network. So we like to reduce the font size of the described status icon.

mapshow prtg sensor

Created on Mar 10, 2014 1:21:51 PM



4 Replies

Accepted Answer

Votes:

0

Dear Sabine,

please paste following code into your <PRTG install path>\webroot\css\styles_custom.css (create the file if it does not exist)

.map_icon_customfont .moreicon {
  display: none;
}
.map_icon_customfont, .map_icon_customfont div, .map_icon_customfont span, td.map_icon_customfont {
  font-size: 12px;
  font-weight: bold;
}
.map_icon_customfont .status {
  font-size: 8px;
  font-weight: normal;
}

and the following code in a new file called for example <PRTG install path>\webroot\mapobjects\sensormessagesmallfont.htm

<!--Status Icons: Sensor Message only on Status Related Background Small Font-->
<div class="map_object map_icon2 map_icon_customfont <#sensor type="colorclassofstate" prefix="map_iconcolor_" id="<@objectid>">" 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="sensor" nicemessage="true" id="<@objectid>">

  <#objectproperty name="Name" id="<@objectid>">
  <#objectstatus name="message" show="textraw" id="<@objectid>">

  <#mapobject type="htmlafter" subid="<@subid>">
</div>

Then reload your mapeditor and you should have a new mapobject in the "Staus Icons" category named "Sensor Message only on Status Related Background Small Font".

In the styles_custom.css adjust the two "font-size" parameters as you like.

Regards, Daniel

Created on Mar 11, 2014 1:05:21 PM by  Daniel Elsner [Paessler Support]



Votes:

0

Hello Daniel, great! This will help me a lot! Best regards, Sabine

Created on Mar 12, 2014 8:54:41 AM



Votes:

0

Hello

Is this still possible? If so, how? I was having trouble with changing the font size, absolute or relative units both had no effect on the font so I ended up scaling the whole thing with transform:scale(x,x) which worked pretty well. But after the update to 18.1.36.3733 its broken.

Regards

Created on Feb 2, 2018 3:02:57 PM



Votes:

0

Hi Ben,

Sorry, we're trying to keep the modifications done to maps as little as possible with the new interface. Please check out Are There Any Alternatives To Maps? instead :)


Kind regards,
Stephan Linke, Tech Support Team

Created on Feb 5, 2018 9:03:22 PM by  Stephan Linke [Paessler Support]




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.