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


Why don't I get all sensors in my XML result when using the API?

Votes:

2

Your Vote:

Up

Down

When I use the following URL to access the API I don't get all my sensors.

http://myprtgserver/api/table.xml?content=sensors&columns=objid,group,device,sensor,status,message,lastvalue&username=xyz&password=xyz

I have more than 800 sensors.

api prtg xml

Created on Mar 4, 2010 10:46:12 AM by  Dirk Paessler [Founder Paessler AG] (10,835) 3 4

Last change on Mar 4, 2010 10:46:31 AM by  Dirk Paessler [Founder Paessler AG] (10,835) 3 4



1 Reply

Accepted Answer

Votes:

2

Your Vote:

Up

Down

The default limit of items per XML/API call is 500.

If you want to have more than 500 items add a count=xxx parameter with enough room for all sensors, e.g.

&count=1000

Created on Mar 4, 2010 10:48:12 AM by  Dirk Paessler [Founder Paessler AG] (10,835) 3 4



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.