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 ?
API configuration
Modified on 2025-06-10 12:41:32 +0200
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.
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.
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