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 can I display different Top 10 lists than those already available?

Votes:

0

How can I display different Top 10 lists (on my custom PRTG dashboard for example) than those already available?

dashboard maps prtg template top-10

Created on Feb 2, 2010 1:12:10 PM by  Dirk Paessler [Founder Paessler AG] (11,025) 3 6

Last change on Apr 19, 2010 9:43:52 AM by  Daniel Zobel [Product Manager]



2 Replies

Accepted Answer

Votes:

0

Note: Editing templates can become quite complex and is not officially supported by Paessler

Option 1: Creating a URL for a custom Top 10 List

Here is how you can create your own Top 10 list based on the built-in "Sensor list" webpage ("sensors.htm") (this does not apply to Maps and custom dashboards, though).

Note: To understand all parameters please have a look at the API documentation (available from under the "Help" menu). Depending on what you actually want to see in your top list you may need to alter the suggested URLs, similar to the ones below.

These two URLs for example, would result in a Top 10 list displaying sensors of a certain type / using a certain tag, with the smallest sensor results.

http://<server>/sensors.htm?sortby=-lastvalue&filter_tags=@tag(<desired sensor tag>)&count=10 http://<server>/sensors.htm?sortby=-lastvalue&filter_type=<desired sensor type>&count=10

If you want more than 10 items, edit the "count=" value.

Option 2: Editing the content of the "Dashboard.htm" webpage

The content of the Top 10 Lists webpage (Sensors=>By Current Value=>Top 10) is defined in this file:

<PRTG directory>\website\controls\dashboardtop10content.htm

When you look into this file using a text editor you will see a section like this for each list:

<#table tableid="sensortable" content="sensors" columns="lastvalue,sensor,device" sortby="lastvalue" sortable="false" refreshable="false" filter_tags="@tag(pingsensor)" filter_status="3" filter_status="13" filter_status="4" filter_status="10" infoheader="false" links="false" count="10" > You can edit the parameters (again, the API documentation explains the details) to define your own lists.

Note: Upon installation of a new version of PRTG your changes will be overwritten.

Option 3: Editing/Creating your own Map object

In the folder for map objects

<PRTG directory>\website\mapobjects

you will find files like Top10 Bandwidth Highest.htm. Make a copy of this file, rename it, edit the mapobject name (in the comment line of the first line in the file) and adapt the <#table> parameters, just like shown above. Afterwards you can add the new mapobject to your maps.

Created on Feb 2, 2010 1:16:13 PM by  Dirk Paessler [Founder Paessler AG] (11,025) 3 6



Votes:

0

I have two questions:

1) I tried creating a new mapobject, but when I went into the Maps and tried to add it, it did not appear. Do I have to restart the Core Server for this to show up?

2) When using the table parameters listed above, is there a way to specify a channel number to use when filtering via a tag? Based on my tests, when filtering using the tag, the default channel is 0. I would like to use the same tag but display information on a different channel.

Thanks!

John Witte

Created on Mar 1, 2010 4:53:25 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.