Hello Luciano,
Thank you very much for your reply.
I am sorry if I have not clarified my question as best as I could, but you have understood what I need anyway. However, I have checked all the documented API calls under "Setup > PRTG API" and what is listed under the "Historic Data" tab doesn't to the trick for me.
The "/api/historicdata.json" calls require a sensor ID in order to execute. If I need to collect data from only a few sensors that would work great. However as there is a limitation for no more than 5 calls per minute with this call, we cannot really use it as that would generate a lot of call backlog (we have over 200 sensors for about 50 different devices).
The "/api/table.xml?content=sensors&output=xml" call is quite allright, but has no real historical data values either for state changes or metric data. The problem we have with that is in case the collection is paused in our external tool (due to maintenance for example), after we restart it we will not collect the metric data from the downtime period. That will really mess up the reports in the end.
I suppose we will probably have to make do with live metrics only, but if there is any alternative to collect their historical values via API, please let me know.
Take care and have a good day.
Best regards,
Alex
Add comment