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.
Article Comments
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.
Nov, 2020 - Permalink
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:
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.
Nov, 2020 - Permalink