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

PRTG Map View: Custom Map -> Filter possible?

Votes:

0

Hello everybody,

We use PRTG to monitor different network devices via SNMP. 2-3 sensors were set up for each device.

In the PRTG Map view, we have created a custom object, which only shows devices and since when they are no longer accessible (data table).

Is there a possibility that is displayed in the data table in case of failure of a device, this only once in the data table? Currently, the failed device is displayed 3 times.

We do not want to solve our problems with dependencies, because sometimes only one of the 3 sensors fails.

Thanks for your support!

Marco Heinrich

datatable map prtg

Created on Jan 16, 2017 9:45:24 AM



Best Answer

Accepted Answer

Votes:

1

Hi Marco,

Unfortunately, that is not possible within one map object (due to the filters). But here are the map objects summarized for Down, Acknowledged and Partial Down:

Put them on the core server (in a ".htm" document) under "C:\Program Files (x86)\PRTG Network Monitor\webroot\mapobjects\"

They will then look like: Map Objects


Down

<!--Data Tables (Custom): DOWN Devices-->

<div class="map_object map_table" id="<@itemid>" objectid="<@objectid>" subid="<@subid>" style="overflow:auto;<#mapobject type="coordinates" subid="<@subid>" mode="<@editmode>">">
  <#mapobject type="objectgrip" mode="<@editmode>">
  <#mapobject type="htmlbefore" subid="<@subid>">
  <#checkobjecttype objecttype="probenode,group,device" nicemessage="true" id="<@objectid>">

  <div class="maptablecontainer" style="overflow:hidden">
    <#table tableid="devices"
    id="<@objectid>"
    content="devices"
    columns="probegroupdevice,device,location,downsens"
    sortby="-downsens"
    infoheader="false"
    links="true"
    sortable="false"
    tabletitle="DOWN Devices (@@)"
    filter_downsens="@neq(0)"
    >
  </div>
  <#mapobject type="htmlafter" subid="<@subid>">
</div>

Acknowledged

<!--Data Tables (Custom): Acknowledged Devices-->

<div class="map_object map_table" id="<@itemid>" objectid="<@objectid>" subid="<@subid>" style="overflow:auto;<#mapobject type="coordinates" subid="<@subid>" mode="<@editmode>">">
  <#mapobject type="objectgrip" mode="<@editmode>">
  <#mapobject type="htmlbefore" subid="<@subid>">
  <#checkobjecttype objecttype="probenode,group,device" nicemessage="true" id="<@objectid>">

  <div class="maptablecontainer" style="overflow:hidden">
    <#table tableid="devices"
    id="<@objectid>"
    content="devices"
    columns="probegroupdevice,device,location,downacksens"
    sortby="-downacksens"
    infoheader="false"
    links="true"
    sortable="false"
    tabletitle="Acknowledged Devices (@@)"
    filter_downacksens="@neq(0)"
    >
  </div>
  <#mapobject type="htmlafter" subid="<@subid>">
</div>

Partial Down

<!--Data Tables (Custom): Partial Down Devices-->

<div class="map_object map_table" id="<@itemid>" objectid="<@objectid>" subid="<@subid>" style="overflow:auto;<#mapobject type="coordinates" subid="<@subid>" mode="<@editmode>">">
  <#mapobject type="objectgrip" mode="<@editmode>">
  <#mapobject type="htmlbefore" subid="<@subid>">
  <#checkobjecttype objecttype="probenode,group,device" nicemessage="true" id="<@objectid>">

  <div class="maptablecontainer" style="overflow:hidden">
    <#table tableid="devices"
    id="<@objectid>"
    content="devices"
    columns="probegroupdevice,device,location,partialdownsens"
    sortby="-partialdownsens"
    infoheader="false"
    links="true"
    sortable="false"
    tabletitle="Partial Down Devices (@@)"
    filter_partialdownsens="@neq(0)"
    >
  </div>
  <#mapobject type="htmlafter" subid="<@subid>">
</div>

Created on Jan 18, 2017 11:41:36 AM by  Dariusz Gorka [Paessler Support]

Last change on Jan 18, 2017 11:50:11 AM by  Dariusz Gorka [Paessler Support]



8 Replies

Votes:

0

Hi Marco,

Please paste the following code into a .HTM file under "C:\Program Files (x86)\PRTG Network Monitor\webroot\mapobjects\". You can then add this map object under "Data Tables (Custom)".

<!--Data Tables (Custom): DOWN Devices-->

<div class="map_object map_table" id="<@itemid>" objectid="<@objectid>" subid="<@subid>" style="overflow:auto;<#mapobject type="coordinates" subid="<@subid>" mode="<@editmode>">">
  <#mapobject type="objectgrip" mode="<@editmode>">
  <#mapobject type="htmlbefore" subid="<@subid>">
  <#checkobjecttype objecttype="probenode,group,device" nicemessage="true" id="<@objectid>">

  <div class="maptablecontainer" style="overflow:hidden">
    <#table tableid="devices"
    id="<@objectid>"
    content="devices"
    columns="probegroupdevice,device,location,downsens"
    sortby="-downsens"
    infoheader="false"
    links="true"
    sortable="false"
    tabletitle="DOWN Devices (@@)"
    filter_downsens="@neq(0)"
    >
  </div>
  <#mapobject type="htmlafter" subid="<@subid>">
</div>

Created on Jan 17, 2017 2:53:51 PM by  Dariusz Gorka [Paessler Support]



Votes:

0

Hello,

When I use this custom mapobject, no devices are displayed.

Created on Jan 18, 2017 6:22:34 AM



Votes:

0

Hi Marco,

Sorry, forgot that. You have to choose the root-group (or any other group) from the left side.

Created on Jan 18, 2017 7:55:18 AM by  Dariusz Gorka [Paessler Support]



Votes:

0

Hi,

i choose a Group under the Local Probe and simulate a failure to test your custom mapobject, but no devices displayd.

Created on Jan 18, 2017 9:54:14 AM



Votes:

0

Hi there,

Please make sure that the sensor is really in the simulated error state and not warning. Please also reload the map once you simulated the error.

Created on Jan 18, 2017 10:00:07 AM by  Dariusz Gorka [Paessler Support]



Votes:

0

Sorry! My mistake!

Can you tell me, how can I display "Down Sesnors" AND "Acknowlegde DOWN Sensors" in your view?

Created on Jan 18, 2017 10:58:07 AM



Accepted Answer

Votes:

1

Hi Marco,

Unfortunately, that is not possible within one map object (due to the filters). But here are the map objects summarized for Down, Acknowledged and Partial Down:

Put them on the core server (in a ".htm" document) under "C:\Program Files (x86)\PRTG Network Monitor\webroot\mapobjects\"

They will then look like: Map Objects


Down

<!--Data Tables (Custom): DOWN Devices-->

<div class="map_object map_table" id="<@itemid>" objectid="<@objectid>" subid="<@subid>" style="overflow:auto;<#mapobject type="coordinates" subid="<@subid>" mode="<@editmode>">">
  <#mapobject type="objectgrip" mode="<@editmode>">
  <#mapobject type="htmlbefore" subid="<@subid>">
  <#checkobjecttype objecttype="probenode,group,device" nicemessage="true" id="<@objectid>">

  <div class="maptablecontainer" style="overflow:hidden">
    <#table tableid="devices"
    id="<@objectid>"
    content="devices"
    columns="probegroupdevice,device,location,downsens"
    sortby="-downsens"
    infoheader="false"
    links="true"
    sortable="false"
    tabletitle="DOWN Devices (@@)"
    filter_downsens="@neq(0)"
    >
  </div>
  <#mapobject type="htmlafter" subid="<@subid>">
</div>

Acknowledged

<!--Data Tables (Custom): Acknowledged Devices-->

<div class="map_object map_table" id="<@itemid>" objectid="<@objectid>" subid="<@subid>" style="overflow:auto;<#mapobject type="coordinates" subid="<@subid>" mode="<@editmode>">">
  <#mapobject type="objectgrip" mode="<@editmode>">
  <#mapobject type="htmlbefore" subid="<@subid>">
  <#checkobjecttype objecttype="probenode,group,device" nicemessage="true" id="<@objectid>">

  <div class="maptablecontainer" style="overflow:hidden">
    <#table tableid="devices"
    id="<@objectid>"
    content="devices"
    columns="probegroupdevice,device,location,downacksens"
    sortby="-downacksens"
    infoheader="false"
    links="true"
    sortable="false"
    tabletitle="Acknowledged Devices (@@)"
    filter_downacksens="@neq(0)"
    >
  </div>
  <#mapobject type="htmlafter" subid="<@subid>">
</div>

Partial Down

<!--Data Tables (Custom): Partial Down Devices-->

<div class="map_object map_table" id="<@itemid>" objectid="<@objectid>" subid="<@subid>" style="overflow:auto;<#mapobject type="coordinates" subid="<@subid>" mode="<@editmode>">">
  <#mapobject type="objectgrip" mode="<@editmode>">
  <#mapobject type="htmlbefore" subid="<@subid>">
  <#checkobjecttype objecttype="probenode,group,device" nicemessage="true" id="<@objectid>">

  <div class="maptablecontainer" style="overflow:hidden">
    <#table tableid="devices"
    id="<@objectid>"
    content="devices"
    columns="probegroupdevice,device,location,partialdownsens"
    sortby="-partialdownsens"
    infoheader="false"
    links="true"
    sortable="false"
    tabletitle="Partial Down Devices (@@)"
    filter_partialdownsens="@neq(0)"
    >
  </div>
  <#mapobject type="htmlafter" subid="<@subid>">
</div>

Created on Jan 18, 2017 11:41:36 AM by  Dariusz Gorka [Paessler Support]

Last change on Jan 18, 2017 11:50:11 AM by  Dariusz Gorka [Paessler Support]



Votes:

0

Wow! Thanks!

Created on Jan 18, 2017 12:47:56 PM




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.