Hello,
how can I retrieve device details using API? Something similar to
/api/getsensordetails.json?id=sensorid
But device, not sensor.
I need device name based on device ID
Thank you
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.
If you go to Setup -> PRTG API -> Live Data, there is a Query Builder that can help you with this.
Here is the query you would append to your PRTG web interface URL for details on your Local Probe device.
/api/table.json?content=devices&output=json&columns=objid,probe,group,device,host,downsens,partialdownsens,downacksens,upsens,warnsens,pausedsens,unusualsens,undefinedsens&id=1
The Live Data page explains each column, and you just put in the corresponding ID for the device.
Mar, 2018 - Permalink
If you go to Setup -> PRTG API -> Live Data, there is a Query Builder that can help you with this.
Here is the query you would append to your PRTG web interface URL for details on your Local Probe device. /api/table.json?content=devices&output=json&columns=objid,probe,group,device,host,downsens,partialdownsens,downacksens,upsens,warnsens,pausedsens,unusualsens,undefinedsens&id=1
The Live Data page explains each column, and you just put in the corresponding ID for the device.
Mar, 2018 - Permalink