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

Downtime Report for All Device

Votes:

0

Hi Team,

I would like to download a monthly report that consist the following below for all the 100 devices that being monitored. It should display items as below in a csv or xml file.

1. Downtime (Date & Time)

2. Uptime (Date & Time)

Kindly advise, please.

ping prtg report

Created on Nov 19, 2020 11:39:33 PM



1 Reply

Votes:

0

Hello,

Thank you for your message.

I'm afraid that PRTG doesn't provide such report, however you can develop a script which uses the API of PRTG to get the data you need. Here is the manual of the API: https://www.paessler.com/manuals/prtg/application_programming_interface_api_definition

For example, to get the logs of a device for a month, you can use the following API call:

https://PRTGServer/api/table.xml?content=messages&columns=objid,name,datetime,parent,status,sensor,device,group,probe,message,priority,type,tags,active&count=*&id=DEVICE_ID&start=1&filter_drel=30days&username=PRTG_USER&passhash=PASSHASH

I also invite you to have a look to the PowerShell module PRTGAPI whose GitHub page is here: https://github.com/lordmilko/PrtgAPI

Kind regards.

Created on Nov 20, 2020 9:44:50 AM by  Florian Lesage [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.