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

Device details

Votes:

0

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

api device prtg

Created on Mar 14, 2018 1:49:12 PM



1 Reply

Votes:

0

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.

Created on Mar 15, 2018 5:18:38 AM by  Benjamin Day [Paessler Support] (1,441) 2 1




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.