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

Maps with issues only

Votes:

0

Hello,

Is it possible to generate a map (sunburst or treemap) with only warnings and criticals alerts ?

I tried to edit the HTML under the webroot directory without success.

Thanks for help,

Nicolas.

alerts maps sunburst

Created on Feb 26, 2015 12:57:45 PM



1 Reply

Votes:

0

Hello,

Please read the KB article about custom map objects carefully before you begin. http://www0.paessler.com/knowledgebase/en/topic/1703-how-can-i-add-or-edit-map-objects-used-for-prtg-s-maps

The code for the sunburst map object is

<!--Devices: Sunburst Warning Error only-->

<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="probenode,group" nicemessage="true" id="<@objectid>">
	<div id ="Plugin_<@itemid>"
		class="sensorTree prtg-plugin"
		data-layout="none"
		data-no-full-size="false"
		data-plugin="sunburst"
		data-root-id="<#objectid>"
		data-objectid="<#objectid>"
		data-view-type="sunburst"
		data-display-mode="<#displaymode>"
		data-show-top-panel="false"
		data-border-bottom-width="0"
		data-options='{"sunburstSizePriority": false,"sunburstSizeSensors": false,"treeMapSizePriority": false,"treeMapSizeSensors": false,"hideControls":true, "filter":["up", "paused", "unknown", "unusual"]}'>

    <!--
      {
  		 "objects":<#table
        id='<@objectid>'
  			output='json'
  			count='*'
  			content='sensorxref'
  			noraw='1'
  			subcheck='1'
  			filter_basetype='probe'
  			filter_basetype='group'
  			filter_basetype='device'
        filter_tags="@tag(<@tagfilterstring>)"
  			sortby='probegroupdevice'
  			columns='objid,name,access=treejson,probegroupdevice=treejson,basetype,icon,favorite,fold,devicenum=textraw,groupnum=textraw,totalsens=textraw,upsens=textraw,downsens=textraw,partialdownsens=textraw,warnsens=textraw,pausedsens=textraw,unusualsens=textraw,undefinedsens=textraw,downacksens=textraw,condition,status=textraw,message,info,priority'>
      }
    -->

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

After you added the new custom map object to your map you should press CTRL-F5 to reload the page so the sunburst displays correctly.

Created on Mar 4, 2015 8:50:59 AM by  [email protected]




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.