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

Pulling IP address from API

Votes:

0

Hi there, can i get the IP/FQDN from the API? i reallly need to be able to achieve this to maintain a list of our monitored items properly.

kindest samuel

api device list

Created on Apr 3, 2018 10:11:05 AM



11 Replies

Votes:

1

Hi Samuel,

Yes, this is possible. To do this, use the following API-Call:

/api/table.csv?content=devices&columns=objid,probe,group,device,host&count=*


If you want just the devices of a certain group, then add the following parameter together with the ID of the group:

&id=GROUP-ID


Afterwards you can open this Comma Separated Values file in Excel. To divide the data into multiple rows, just navigate to "Data > Text to Columns > Delimited > Comma".

Best regards.

Created on Apr 3, 2018 10:56:15 AM by  Dariusz Gorka [Paessler Support]

Last change on Apr 3, 2018 10:57:58 AM by  Dariusz Gorka [Paessler Support]



Votes:

0

Hi Dariusz!

Thanks for your fast reply, could you also point me towards how to get the deviceID and groupID into this output?

Created on Apr 3, 2018 11:04:54 AM



Votes:

0

Hi there,

Sure, just change it to the following:

/api/table.csv?content=devices&columns=objid,probe,group,device,id,parentid,host&count=*



Let me know if it works out for you.

Best regards.

Created on Apr 3, 2018 8:12:14 PM by  Dariusz Gorka [Paessler Support]



Votes:

0

Is there any way to get the list of equipment and sensors?

Created on Apr 11, 2019 4:45:12 PM



Votes:

0

Hi there,

Could you further explain what information you specifically need? You can surely get a list of sensors, together with the device name, however you can't export the host along with the sensors.

Best regards.

Created on Apr 11, 2019 6:22:05 PM by  Dariusz Gorka [Paessler Support]



Votes:

0

Would need objid, probe, group, device, host, sensor if possible also the "comment"

Created on Apr 11, 2019 6:33:35 PM



Votes:

0

Hi there,

Then use the URL above and alter the &columns= to your needs. To get the comment simply use the "comments"-column. You can find a list of all available columns in your webinterface under "Setup > PRTG API > Live Data".

Best regards.

Created on Apr 11, 2019 6:50:16 PM by  Dariusz Gorka [Paessler Support]



Votes:

0

Created on Apr 11, 2019 8:31:40 PM



Votes:

0

Hi there,

The reason is that the "sensor"-column is not available for devices. As mentioned, you can find a full list of columns under "Setup > PRTG API > Live Data". On the right side you see where this column can be used.

Best regards.

Created on Apr 11, 2019 8:34:54 PM by  Dariusz Gorka [Paessler Support]



Votes:

0

Is there a way to know the SNMP community of each device?

Created on Apr 11, 2019 9:43:46 PM



Votes:

0

Created on Apr 12, 2019 6:19:09 AM by  Dariusz Gorka [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.