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

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

Votes:

2

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] (11,025) 3 6

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



1 Reply

Accepted Answer

Votes:

2

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] (11,025) 3 6




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.