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 all the devices with api

Votes:

0

I need a report of all my devices in prtg probe,

api prtg-network-monitor web-api

Created on Dec 11, 2017 6:43:13 PM



3 Replies

Votes:

0

Hi there,

In order to retrieve the CSV file, simply connect to your PRTG webinterface via a webbrowser, login and change the URL accordingly:

http(s)://<SERVER>/api/table.csv?content=devices&columns=objid,probe,group,device,host&count=*

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".

Bes regards.

Created on Dec 12, 2017 11:40:10 AM by  Dariusz Gorka [Paessler Support]



Votes:

0

Hi

http://192.168.1.9/api/table.csv?content=devices&columns=objid,probe,group,device,host&count=*&columns=sensor&username=login&password=password

I receive this back

"Датчик","Датчик(RAW)"
"",""
"",""
"",""
"",""
"",""
"",""

What to do?

Created on Feb 8, 2018 12:18:42 PM

Last change on Feb 8, 2018 2:19:46 PM by  Luciano Lingnau [Paessler]



Votes:

0

Hi there,

You added "columns" twice in the call. Please use the following URL instead and check again:

http://192.168.1.9/api/table.csv?content=devices&columns=objid,probe,group,device,host&count=*&username=login&password=password

Does it work now?

If not, please use the following URL to check if you get anything as JSON:

http://192.168.1.9/api/table.json?content=devices&columns=objid,probe,group,device,host&count=*&username=login&password=password


Best regards.

Created on Feb 8, 2018 8:48:51 PM 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.