New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

200.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free PRTG
Download >>

 

What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

 

Top Tags


View all Tags


How can i get all the devices with api

Votes:

0

Your Vote:

Up

Down

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 by  ecurielz (0) 1



3 Replies

Votes:

0

Your Vote:

Up

Down

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

Your Vote:

Up

Down

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 by  Tramp_Sergey (10) 1

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



Votes:

0

Your Vote:

Up

Down

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]



Please log in or register to enter your reply.


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.