Hello I'm working on a website that calculates the total downtime of the total of ping sensors for a specified window of time, and i'm doing a cycle which makes the next call for each sensor:
/api/historicdata.xml?id=sensorid&sdate=2013-06-14-00-00-00&edate=2013-06-14-12-34-26&avg=3600
Is there a filter to get only data which downtimes are major than 0? Or there is another way to calculates downtime for a specific time frame?
Hello,
thank you very much for your KB-Post. I'm very much afraid the filtering needs to be done externally to PRTG. In the script that calls the PRTG API for the data, or the surrounding webpage.
best regards.
Jun, 2013 - Permalink