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

How i display down sensors by most recent to older

Votes:

0

Hello,

I want to display DOWN Sensors table on a map in order the most recent on top to the older one. Actually it's the older on top. I don't find how to.

Is possible to display the value of "down for" like Alarms small table into DOWN sensors table.

Thanks,

map-objects maps table

Created on Feb 12, 2018 1:31:41 PM



7 Replies

Votes:

0

Hi there,

Could you please forward us the exact map object you are using (the name) so we can help you further? :)

Best regards.

Created on Feb 12, 2018 4:40:04 PM by  Dariusz Gorka [Paessler Support]



Votes:

0

Hello,

I use in data table -> DOWN Sensors. I want this : Dashboard

I think it's possible, but i'm very poor in html :-)

Thanks,

Created on Feb 13, 2018 2:09:10 PM



Votes:

0

Hi there,

The screenshot was somehow falsely linked, but I think I know what you meant. :)
Please perform the following steps and you should get the desired map object:

  • add a new file on the Core Server under: C:\Program Files (x86)\PRTG Network Monitor\webroot\mapobjects\
  • add the following content to the new file:
<!--Data Tables: DOWN Sensors (Sorted by Down Since)-->

<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">
    <#lang key="html.mapobjects.tablea1.tabletitle" default="DOWN Sensors (@@@@)" var="tabletitle">
    <#table tableid="sensortable"
    id="<@objectid>"
    content="sensors"
    columns="sensor,probegroupdevice,status,downtimesince,lastvalue,message"
    sortby="-downtimesince"
    infoheader="false"
    links="false"
    sortable="false"
    varexpand="tabletitle"
    tabletitle="@tabletitle"
    filter_tags="@tag(<@tagfilterstring>)"
    filter_status="5"
    filter_status="13"
    filter_status="14"
    >
  </div>
  <#mapobject type="htmlafter" subid="<@subid>">
</div>

Afterwards you are able to find the Map Object under "Data Tables > DOWN Sensors (Sorted by Down Since)".

Best regards.

Created on Feb 13, 2018 7:40:39 PM by  Dariusz Gorka [Paessler Support]



Votes:

0

Hello,

Thanks for your map object. It's the table i want. The text size is small. Is it possible to enlarge it ?

(I try another hosting image) https://www.imageupload.co.uk/images/2018/02/16/2018-02-1314_59_24-DashBoardGeneral_PRTGNetworkMonitor.png

Thank you

Created on Feb 16, 2018 12:38:02 PM



Votes:

0

Hi there,

Sure! Just add the following to the "styles_custom_v2.css"-file on your Core Server in the "\webroot\css\" folder:

.map_object form .table td,
.map_object .table td,
.map_object .table th,
.map_object .table td.col-message .status,
.map_object .table td.col-message .logmessage {font-size: 16px !important;}

Afterwards reload the map.

Best regards.

Created on Feb 16, 2018 5:48:43 PM by  Dariusz Gorka [Paessler Support]



Votes:

0

Hello,

I add this code to the "styles_custom_v2.css" file in webroot\css folder.

/*
//        You can use this file to modify the appearance of the PRTG web interface
//        as described in https://kb.paessler.com/en/topic/33
//        
//        Please note that you are using an unsupported and deprecated feature. 
//        Your changes will be broken or removed with future PRTG updates.
//        
//        If you modify this file, PLEASE LET US KNOW what you're changing and why!
//        Just drop an email to [email protected] and help us understand your 
//        needs. Thank you!       
*/
.map_object form .table td,
.map_object .table td,
.map_object .table th,
.map_object .table td.col-message .status,
.map_object .table td.col-message .logmessage {font-size: 16px !important;}

It don't work, the text of DOWN Sensors (Sorted by Down Since) table is small. Is there a mistake ?

Thanks for your help

Created on Feb 17, 2018 1:31:24 PM



Votes:

0

Hello,

My apologies. It works :)

Thanks for your help

Created on Feb 19, 2018 7:29:15 AM




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.