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

PRTG API to find all duplicate entries



Id like to be able to use the PRTG API to create an export of all of the duplicate entries in my environment. Over the years MANY devices have been double imported creating double the amount of sensors required. Like to perform a little clean up is there anyway to pull all duplicate devices in my PRTG environment using the API?

api duplicate prtg

Created on Apr 7, 2017 5:25:51 PM

1 Reply



This would work:

This will give you an XML file you can open in Excel, containing all devices and their IP or hostname as configured in PRTG. This way you can at least identify easily redundant IPs and hostnames. What it does not do since Excel has no formula to do this out of the box is to lookup which hostname would match which IP.

One more thing: The API call is limited to deliver max. 500 items, so in case you have 600 devices for example, add a count parameter to the API call like this: http(s)://your.prtg.server/api/table.xml?content=devices&output=xml&columns=objid,probe,group,device,host,baselink&count=600

Kind regards.

Created on Apr 10, 2017 7:54:00 AM by  Stephan Linke [Paessler Support]

Last change on Apr 10, 2017 7:55:00 AM by  Stephan Linke [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.