I'm using the API to grab uptime information on all sensors with a certain tag. Ideally, I would be able to make an API call that will simply report the uptime for each sensor over a certain time span. The cumulative uptime is readily available, but I'd really like to be able to get this uptime for the past week/month/day/etc for multiple sensors. I've looked into a few options. It seems overkill to request historical data for each sensor individually, and I haven't been able to figure out a table request that will output what I need. I'd like to avoid exporting PRTG data into an external database to run the calculations myself. The PRTG reports will output this information, so it would be nice to be able to make ad-hoc requests for various time ranges. Alternatively, I may need to schedule reports on a daily/weekly/monthly basis and create an automated process to consume the data. It just seems like there should be an easier way. Any ideas?
API Uptime with Datetime filter
Votes:
0
2 Replies
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.
Add comment