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

WEB API Call to receive a list of the Probe Name and the amound of devices and sensors

Votes:

0

Hello, we need an WEB API Call for our invoicing to receive a list of the amount of sensors and devices inside the Probe´s.

For example, we Have an PRTG Tree with the main Probe and 5 Probe Servers from 5 Customers, and inside each of the probe Servers we have in different groups 10 devices with 20 sensors so i like to receive a list like this:

[Name of Probe 1], [No of Devices under this Probe], [No of Total Sensors under this Probe] Company1, 10, 20

Can you help me with the right API String?

Thanks, Juergen

api json webapi

Created on Oct 31, 2022 10:22:41 PM



1 Reply

Votes:

0

You can use this

/api/table.xml?content=devices&output=xml&columns=objid,probe,group,device,host&username=myuser&password=mypassword

Change the username and password at the end. Or change 'password' to 'passhash' and create a passhash from your user. More information here https://www.paessler.com/manuals/prtg/my_account_settings#passhash

This API call will generate an XML file, open it in excel so you can filter the rows per probe.

Created on Nov 3, 2022 10:26:24 PM by  Jonathan Mena [Paessler Technical Support]

Last change on Nov 3, 2022 10:27:29 PM by  Jonathan Mena [Paessler Technical 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.