I find a way to extract all data of my PRTG in a XML table. But this XML take the last value of each sensors. I want to have an average of the value for each sensors.(I will choice the interval) If that can possible ?


Article Comments

Hi Pierrot,

Historic data (to calculate the average on) can be retrieved with the /api/historicdata.xml API call. This call however can only be done for one sensor at the time (processing multiple sensors at the same time would cause a too heavy load on the PRTG server). For more information, see PRTG Manual: Historic Data.

So, after extracting your sensors into the xml table, you will need to retrieve the average values one by one.

Regards,


Jan, 2012 - Permalink

Ok thanks. I hope there are another way to do this.


Jan, 2012 - Permalink