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 API getting historic data by choosing top list

Votes:

1

Hello,

I am getting historic data with api giving data sorted by protocols like dnsi tcp, http, etc. However, I want to get data by another top list member(By autonomous system number), Is there any way to poll api by choosing top list?

avg-0 edate-2019-01-09-22-15-00 https---213-194-95-210-api-historicdata- sdate-2019-01-09-22-00-00

Created on Jan 11, 2019 1:15:19 PM



1 Reply

Votes:

0

You can retrieve data from Toplists via the PRTG API with URLs such as the following:

http://*.*.*.*/api/table.xml?content=topdata&columns=position%2Cvalue_%2Cobjid%2Cbaselink&sortby=-value_2V&subid=2&topnumber=2&id=2002

However, you will have to know the ID of the Toplist as well as the topnumber (this is the identification of the individual Toplist you want to query). You can look up both in the web interface where the Toplists are displayed.

While the "ID" remains the same for the same Toplist, the "topnumber" is increased with every Toplist that is created (in default configuration, every 15 minutes).


PRTG Scheduler | PRTGapi | Feature Requests | WMI Issues | SNMP Issues

Kind regards,
Stephan Linke, Tech Support Team

Created on Jan 14, 2019 9:52:33 PM by  Stephan Linke [Paessler Support]




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.