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?


Article Comments

Attention: This article is a record of a conversation with the Paessler support team. The information in this conversation is not updated to preserve the historical record. As a result, some of the information or recommendations in this conversation might be out of date.

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


Jan, 2019 - Permalink