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

How can I fetch sensor-settings with http-api?

Votes:

0

Is it possible to fetch sensor-settings by using http-api? I should have the data xml-response similar to '/controls/objectdata.htm?id=xxx&objecttype=sensor'

api objectdata xml-response

Created on Jan 6, 2014 11:34:56 AM



2 Replies

Votes:

0

You can get this with 'getobjectproperty.htm?id=xy&name=abc' for one Setting of an Object with the ID 'xy' and the 'name' of the setting. This works well with a setting that is relatively simple but more complex settings are a bit confusing. Also, this is not directly exported as an XML file. An example is below for getting the scanning interval of a sensor with the ID 1002:

http://PRTGIP/api/getobjectproperty.htm?id=1002&name=Interval

Created on Jan 7, 2014 1:14:40 PM by  Greg Campion [Paessler Support]



Votes:

0

Not really nice but it works (needs 4 http-requests per mssql-sensor to have the instance, port, db and statement). Thank you for the answer

Created on Jan 8, 2014 2:03:00 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.