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

API: last status in sensortree

Votes:

0

Hello,

Is there any possibility to retrieve not only the last sensorstatus but the last 5 (or more) status of a sensor using the api-call /api/table.xml?content=sensortree&output=xml ?

I could retrieve the status history sensor by sensor but this would take too long to retrieve all history.

Best Regards thomas gottfried

api prtg sensortree

Created on Apr 29, 2014 1:53:41 PM



3 Replies

Votes:

0

Hello,

thank you very much for your KB-Post. I'm sorry, but with this API-Call you can only get the current state of the sensors. You are correct, the only other way would be doing this per sensor. Sorry.

best regards.

Created on May 1, 2014 11:14:25 AM by  Torsten Lindner [Paessler Support]



Votes:

0

Hello,

thanks for you quick reply.

Will retrieving all history status sensor by sensor using API-Calls still run into "Load limit exceeded" error discribed in KB-Post https://www.paessler.com/knowledgebase/en/topic/48583-load-limit-exceeded ?

Best Regards

thomas

Created on May 2, 2014 6:59:09 AM



Votes:

0

No, the table.xml-Calls are not affected by the the load limit.

Created on May 6, 2014 1:46:51 PM by  Torsten Lindner [Paessler Support]




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.