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

Get Sensor List for each report

Votes:

0

Hi,

I'm Trying to get the sensors included in each report, but the api currently not expose this data..

This is the URI:

https://{prtg_server}/api/table.json?content=reports&output=json&columns=objid,name,template,period,schedule,email,numberofsensors,lastrun,nextrun

Is there's a way to get also the sensors included?

Thanks for your help..!

prtg reports sensors

Created on Jan 23, 2022 4:35:57 PM



1 Reply

Votes:

0

Hello,

that is right, the report template does not resolve API calls for security reasons.

In principle, you could try to combine two report templates into one, as there are templates for a sensor list. However, this is 100% untested and not covered by support.

Report templates include other files, beside header and footer there is a file for the loop over the sensors. Please understand that experimenting with custom templates might not always lead to expected results.

An alternative would be to extract the raw data and process it elsewhere. For data extraction, there is the PRTG Data Exporter, which puts it into SQL. Then you can process the data as you like.

Created on Jan 26, 2022 2:48:40 PM by  Arne Seifert [Paessler Support]

Last change on Feb 1, 2024 5:04:15 PM by  Jacqueline Conforti [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.