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!
How to get historic data of all sensors via the API?
Modified on 2025-06-10 12:04:28 +0200
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.
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.
Hello,
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.
Dec, 2010 - Permalink