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

Bring more than 500 results on a PRTG API call

Votes:

0

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

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



2 Replies

Votes:

0

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

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

Created on Aug 10, 2018 12:58:04 PM




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.