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

How can I get a full list of devices via api?



When doing a api qry : /api/table.xml?content=devices&output=csvtable&columns=device

I get a incomplete list of devices. Shouldn't it give all the names that are in devices setting field "Device Name" ? Also it would be nice to be able to pull all ip's of devices from the devices setting field "IPv4 Address/DNS Name" .

api device ip-

Created on Apr 4, 2013 9:09:39 PM

5 Replies



you can use the following API-Call /api/table.xml?content=devices&output=xml&columns=objid,probe,group,device,host or /api/table.xml?content=devices&output=csv&columns=objid,probe,group,device,host

Created on Apr 5, 2013 12:59:05 PM by  Mathias Hengl [Paessler Support]



O.k., that only gives me more info (additional fields) on the devices that are listed from my attached api call, but this is not a complete list of devices.

Created on Apr 5, 2013 6:06:40 PM



I should be getting a result of 653 Devices and Getting a result from the API qry of 504, I verified the # of devices to the the devices backed up in \Application data\Paessler\PRTG Network Monitor\Monitoring Database\ *date*

Created on Apr 5, 2013 6:25:07 PM



When I go to "PRTG Host"/status.htm?tabid=1 I get the following :

Database Objects Probes 5 Groups 150 Devices 856

which is also different from what the api qry returns.

Created on Apr 5, 2013 6:36:41 PM




The API call by default only returns 500 devices. To return more, use the count parameter and add something like &count=1000 to your URL.


Created on Apr 8, 2013 10:09:50 AM

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.