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
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.
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
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