What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
300.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

How to filter up only in sunburst on a map ?

Votes:

0

Your Vote:

Up

Down

How to filter up only in sunburst on a map ?

<!--Device Tree Views: devices2)-->

<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":["down", "warning", "paused", "unknown", "unusual"]}'>

    <!--
      {
  		 "objects":<#table
        id='<@objectid>'
  			output='json'
  			count='*'
  			content='sensorxref'
  			noraw='1'
  			subcheck='1'
  			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>

Use filter :["warning"] not work

data-options='{"sunburstSizePriority": false,"sunburstSizeSensors": false,"treeMapSizePriority": false,"treeMapSizeSensors": false,"hideControls":true, "filter":["down", "warning", "paused", "unknown", "unusual"]}'>

custom-map html map-objects maps prtg treemap

Created on Feb 25, 2021 7:35:27 AM by  goddogza (0) 1

Last change on Feb 25, 2021 8:06:26 AM by  Florian Lesage [Paessler Support]



5 Replies

Votes:

0

Your Vote:

Up

Down

Can you please clarify your request. I am not sure where you want to apply the filter.

Please also take a look at the following Knowledge-Base articles, where you can find information how to create custom map objects:


Kind regards,
Matthias Kupfer - Team Tech Support

Created on Feb 25, 2021 3:15:08 PM by  Matthias Kupfer [Paessler Support]



Votes:

0

Your Vote:

Up

Down

how to set to show ping only ? filter ping sensor only

<!-- Added Objects: StatusTest -->

<div class="map_object map_icon2 map_icon_large <#sensor type="colorclassofstate" prefix="map_iconcolornew_" 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>">

  <#objectproperty type="nodename" id="<@objectid>" var="nodename">
  <#objectstatus name="lastvalue" id="<@objectid>" var="lastvalue">
 

  <span>
    <#objectstatus name="downsens" id="<@objectid>">
    <#objectstatus name="upsens" id="<@objectid>">

    <br>
    <#objectproperty name="Name" id="<@objectid>">
    <!-- <br><#if value="@nodename" is="sensor" then="@lastvalue" varexpand="value,then"> Remove last Value from Sensors-->
    <br>&nbsp;
    <br><#if value="@nodename" is="sensor" then="@message" varexpand="value,then">
  </span>
    <#mapobject type="htmlafter" subid="<@subid>">
</div>

Created on Mar 2, 2021 4:42:17 AM by  goddogza (0) 1

Last change on Mar 2, 2021 1:52:44 PM by  Matthias Kupfer [Paessler Support]



Votes:

0

Your Vote:

Up

Down

This is possible by filtering for tags, as explained in the this Knowledge-Base article.


Kind regards,
Matthias Kupfer - Team Tech Support

Created on Mar 2, 2021 1:55:03 PM by  Matthias Kupfer [Paessler Support]



Votes:

0

Your Vote:

Up

Down

Not working. Please suggest or an example. put code in line ?

filter_tags="@tag(<@tagfilterstring>)"

Created on Mar 3, 2021 6:54:25 AM by  goddogza (0) 1



Votes:

0

Your Vote:

Up

Down

Hi there,

I have to tell you that we are no longer able to support you in implementing customizations. Please read our statement about this here.


Kind regards,
Matthias Kupfer - Team Tech Support

Created on Mar 3, 2021 7:43:08 AM by  Matthias Kupfer [Paessler Support]



Please log in or register to enter your reply.


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.