New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

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


Export device list of a specific group with status down or up

Votes:

0

Your Vote:

Up

Down

Hi

I need to export a device list of a specific group via API command, can someone remind me the command sintax?

thanks

api http-api prtg-api web-api

Created on Jan 14, 2020 9:18:01 AM by  Angelo (0) 1



7 Replies

Votes:

0

Your Vote:

Up

Down

Hi,

You can use the following API to generate the desired list:

http://api/table.csv?id=objectid&columns=objid,name,host,probegroupdevice=text,status&count=*

Kind regards

Created on Jan 14, 2020 1:58:44 PM by  Marijan Horsky [Paessler Support]



Votes:

0

Your Vote:

Up

Down

Thanks for the reply!

I have found this API command that satisfy my needs:

server-name/api/table.xml?content=sensors&output=csvtable&columns=device,status,tags&filter_type=ping&id=2853

whre the ID is the group ID that I want to filter.

I have another question:

How can save on a local network folder the XML file created?

Thanks!

Created on Jan 15, 2020 9:15:21 AM by  Angelo (0) 1



Votes:

0

Your Vote:

Up

Down

Hi,

Would you like to save it as XML or CSV file?

Kind regards

Created on Jan 15, 2020 9:20:18 AM by  Marijan Horsky [Paessler Support]



Votes:

0

Your Vote:

Up

Down

We prefer XML but the format is not important we can switch if necessary.

thanks

Created on Jan 15, 2020 9:21:44 AM by  Angelo (0) 1



Votes:

0

Your Vote:

Up

Down

Hi,

I would ask you to change the API-Call from table.xml to table.csv. Does it save the file now?

Kind regards

Created on Jan 15, 2020 9:24:40 AM by  Marijan Horsky [Paessler Support]



Votes:

0

Your Vote:

Up

Down

At the moment we are just looking for the correct API syntax and we run the url directly in our browser so the file pop up from the browser winodow but the goal is to set up an automation to save somewhere the CSV file.

Is there a scheduler to do this job using API?

thanks

Created on Jan 15, 2020 9:44:15 AM by  Angelo (0) 1



Votes:

0

Your Vote:

Up

Down

Hi,

Maybe you can work with a script which runs the api call automatically at the desired time with the help of the task scheduler of Windows.

Kind regards

Created on Jan 15, 2020 9:54:35 AM by  Marijan Horsky [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.