What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Filter history data by downtime major than 0

Votes:

0

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?

api downtime history

Created on Jun 14, 2013 8:58:05 PM



1 Reply

Votes:

0

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.

Created on Jun 17, 2013 12:11:15 PM by  Torsten Lindner [Paessler Support]




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.