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 to get historic data of all sensors via the API?



I make a application using PRTG http api. This application request url: "http://{server}:{port}/api/historicdata.xml?id={2}&sdate={3}&edate={4}&username={5}&password={6}&avg={7}" to take historic of one sensor. For all sensors, i use a loop. I's take 0.5s to get result of one sensor. If a have many sensors, it'll very slow. How can i do to get historic of all sensors with one request. Thank for help!

api historic-data http

Created on Dec 20, 2010 4:37:57 AM

Last change on Dec 21, 2010 9:59:49 AM by  Daniel Zobel [Product Manager]

1 Reply

Accepted Answer




there is a reason why such functions are limited to one sensor, as they can put a lot of stress and a high load on the PRTG server. Please bear that in mind, and do not use RAW-Data and/or long periods, etc..

Best Regards.

Created on Dec 20, 2010 2:55:08 PM by  Torsten Lindner [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.