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


Bring more than 500 results on a PRTG API call

Votes:

0

Your Vote:

Up

Down

Hi everyone,

I´ve been trying to make an http request to our prtg through the API that can bring all the sensors currently monitored in our system, since we have more than 18000 sensors, which would be the best way to do it?

I´ve been using this:

http://<prtgserver>/api/table.csv?content=devices&output=csvtable&columns=objid,probe,group,device,host,downsens,partialdownsens,downacksens,upsens,warnsens,pausedsens,unusualsens,undefinedsens&count=18000&username=<myuser>&passhash=<hash>

When I check the resulting csv, I can get a max item number of 525. Is there any other way? can I count an specific range of sensors so I can make multiple calls to different ranges?

csvexport http-requests prtg-api

Created on Aug 9, 2018 10:09:49 PM by  Anderson Restrepo (0) 1

Last change on Aug 10, 2018 7:56:10 AM by  Stephan Linke [Paessler Support]



2 Replies

Votes:

0

Your Vote:

Up

Down

Well you are checking devices instead of sensors in the content attribute - I assume you have 525 devices? :)


Kind regards,
Stephan Linke, Tech Support Team

Created on Aug 10, 2018 7:58:10 AM by  Stephan Linke [Paessler Support]



Votes:

0

Your Vote:

Up

Down

yeah you re right, thanks for your Help! :)

Created on Aug 10, 2018 12:58:04 PM by  Anderson Restrepo (0) 1



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.