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


Article Comments

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.


Mar, 2014 - Permalink

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


Apr, 2017 - Permalink

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.


Apr, 2017 - Permalink

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

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


Jan, 2018 - Permalink

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.


Jan, 2018 - Permalink

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


Jul, 2018 - Permalink

Dear mhosken,

gauges only come in default sizes, I am sorry.


Jul, 2018 - Permalink

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


Nov, 2020 - Permalink

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.


Nov, 2020 - Permalink