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


Article Comments

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.


Nov, 2022 - Permalink