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

Customizing gauge type map objects

Votes:

0

I'd very muche like to have a map object like the "primary channel gauge" - without all the extras. The sensor is very large with much of the space being taken by the device name in the upper left, the current value in the lower left and so on. What I would like is only a gauge in a square container with the current and min/max values and none of the "white space".

I've had a look at the "Gautes Sensor Primary.htm" file but I don't really understand what's going on. Is there any chance to modify the sensor myself (create a copy and modify that of course) or can that not be done? Will something like that ever be considered as a new map object?

Regards Christian

customize feature-request gauge map sensor

Created on Mar 27, 2014 8:45:56 AM

Last change on Mar 28, 2014 2:20:19 PM by  Greg Campion [Paessler Support]



9 Replies

Votes:

1

You could use this code to create a new map object called "Primary Channel Gauge Small w/o Text" without the text at the top but the object being displayed there is something that is generated from PRTG in the complete format with the gauge and the name and this is not something that can be edited down.

 <!--Status Icons: Primary Channel Gauge Small w/o Text-->

<div class="map_object map_table <#sensor type="colorclassofstate" prefix="map_objectstate_" id="<@objectid>">" id="<@itemid>" objectid="<@objectid>" subid="<@subid>" style="overflow:hidden;<#mapobject type="coordinates" subid="<@subid>" mode="<@editmode>">">
<#mapobject type="objectgrip" mode="<@editmode>">
<#mapobject type="htmlbefore" subid="<@subid>">
<#checkobjecttype objecttype="sensor" nicemessage="true" id="<@objectid>">
  
	<div id="Plugin_<@itemid>"
    class="prtg-plugin"
    data-plugin="channelgauges"
    data-primarychannel='<#objectproperty name="primarychannel" show="number" id="<@objectid>">'
    data-objectid="<@objectid>"
    data-type="channels"
    data-mapview="small primaryonly"
    data-objects = '<#table
      id="<@objectid>"
      output='json'
      noraw='1'
      content='channels'
      sortby='name'
      columns='info=treejson,minimum,maximum,condition,lastvalue'>'>
	</div>
<#mapobject type="htmlafter" subid="<@subid>">
</div>

If anyone votes this up or comments on this post, we will consider it to be a vote for this feature and may make this icon in the future.

Created on Mar 28, 2014 2:20:06 PM by  Greg Campion [Paessler Support]

Last change on Mar 28, 2014 2:21:09 PM by  Greg Campion [Paessler Support]



Votes:

0

That is one solution yes, but i need a Gauge Icon without of any text, how can i do that? Tables and Graphs are all available without of any text of the sensor - only this type of sensor not. It will very helpfull to create custom maps and views.

Thanks Joerg

Created on Apr 21, 2017 12:30:19 PM



Votes:

0

Dear jfrenker

The gauge with the channel name and value is a single object, which cannot be further customized. You cannot remove this information from the gauge, I am sorry.

Created on Apr 24, 2017 1:06:11 PM by  Arne Seifert [Paessler Support]



Votes:

0

Can I have a separate object? (Velocimentro and one with percentage)

Can I put the background of this object in gray color?

Created on Jan 27, 2018 12:08:04 AM



Votes:

0

Dear sandroalves,

the gauge view cannot be customized very much. The background color cannot be changed as well.

Similar to graphs, we rather have high-performance gauge rendering which is not as customisable than a complex set of rendering options.

Created on Jan 29, 2018 3:33:08 PM by  Arne Seifert [Paessler Support]



Votes:

0

Is there a data-width, data-height option available to custom size the Gauge sensor objects?

Created on Jul 20, 2018 2:11:27 AM



Votes:

0

Dear mhosken,

gauges only come in default sizes, I am sorry.

Created on Jul 20, 2018 2:34:09 PM by  Arne Seifert [Paessler Support]



Votes:

0

I am trying to modify the "primary channel gauge" map object to use a different channel. Which parameter would I change for this? Is there a parameter for the channel ID? It would seem like an easy change to the configuration to choose a different channel than the primary.

Thanks for your help, Rick

Created on Nov 4, 2020 9:29:59 PM



Votes:

0

Dear Rick,

there is no channel ID parameter for this object, it can't be modified to show a different channel. The map objects are usually elements also used in the interface. Here, either all channel gauges or the primary gauge is shown, hence the same selection of options in the map editor.

Created on Nov 5, 2020 1:54:32 PM by  Arne Seifert [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.