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!


Article Comments

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