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.


Article Comments

Attention: This article is a record of a conversation with the Paessler support team. The information in this conversation is not updated to preserve the historical record. As a result, some of the information or recommendations in this conversation might be out of date.

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


Jan, 2022 - Permalink