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

Create Custom map sortby down,warning, unusal

Votes:

0

Hi there

I created a custom map from tableA0. I want to have a sort priority 1. Down 2. Warning 3. Unusal

Is it possible to define the sortby this way?

This is what I have so far

<!--Data Tables: Custom Alarms-->

<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.tablea0.tabletitle" default="Alarms (@@@@)" var="tabletitle">
    <#table tableid="sensortable"
    id="<@objectid>"
    content="sensors"
    columns="downtimesince,sensor,status,lastvalue,message"
    sortby="downtimesince"
    infoheader="false"
    links="false"
    sortable="false"
    varexpand="tabletitle"
    tabletitle="@tabletitle"
    filter_tags="@tag(<@tagfilterstring>)"
    filter_status="5"
    filter_status="4"
    filter_status="10"
    >
  </div>
  <#mapobject type="htmlafter" subid="<@subid>">
</div>

custom-map prtg sensors sortby

Created on Oct 27, 2014 2:59:48 PM

Last change on Oct 27, 2014 3:31:31 PM by  Torsten Lindner [Paessler Support]



4 Replies

Accepted Answer

Votes:

0

Maybe I found something. If I use only those 3 filters, I use sortby="-status"

This sorts the sensors to Down, Warning, unusal.

It's not exactly what I wanted, but if I use only those 3 it works.

Created on Oct 27, 2014 4:19:57 PM



Votes:

0

Hi binarybubble,

your solution is the best in that case. It is not possible to control the sort order other then asc/desc.

Best Regards, Daniel Elsner

Created on Nov 3, 2014 12:44:36 PM by  Daniel Elsner [Paessler Support]



Votes:

0

balls.... thats bad. maybe you can add that as feature in an upcoming version ;)

but thanks anyway.

Gruss Thomas

Created on Nov 3, 2014 1:03:52 PM



Votes:

1

Thanks! The "-status" works :)

Regards Christopher

Created on Oct 8, 2015 7:59:08 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.