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

PRTG API Calls

Votes:

0

api/getsensordetails.json?id="xxxx" when it call it in browser

{"prtgversion":"21.4.73.1663+","sensordata":{"name":"Ping","parentgroupname":"X2O Cruquius","parentdevicename":"SD WAN INTERNAL","sensortype":"(Object not found)","interval":"(Object not found)","probename":"(Object not found)","statusid":"(Object not found)","lastup":"(Object not found)","lastdown":"(Object not found)","lastcheck":"(Object not found)","uptime":"(Object not found)","uptimetime":"(Object not found)","downtime":"(Object not found)","downtimetime":"(Object not found)","updowntotal":"(Object not found)","updownsince":"(Object not found)","parentdeviceid":"(Object not found)","lastvalue":"(Object not found)","lastmessage":"(Object not found)","statustext":"(Object not found)","info":"(Object not found)","favorite":"(Object not found)"}}

most of the sensor object return "Object not found" value i can't understand why this is happen. name, parentgroupname are showing correctly.

api json prtg

Created on Jan 3, 2022 9:27:01 AM

Last change on Jan 4, 2022 7:37:55 AM by  Felix Wiesneth [Paessler Support]



1 Reply

Votes:

0

Hello,

Thank you for your message and happy New Year!

To use the API endpoint getsensordetails.json for a specific sensor, you need to provide the id of the latter without quotes "". Otherwise, PRTG won't be able to find its data and result to the error you are facing. Therefore, I invite you to use "/api/getsensordetails.json?id=SensorID" instead.

If you have questions, do not hesitate.

Regards

Created on Jan 4, 2022 8:06:43 AM by  Florian Lesage [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.