Hi there, can i get the IP/FQDN from the API? i reallly need to be able to achieve this to maintain a list of our monitored items properly.
kindest samuel
Article Comments
Hi Dariusz!
Thanks for your fast reply, could you also point me towards how to get the deviceID and groupID into this output?
Apr, 2018 - Permalink
Hi there,
Sure, just change it to the following:
/api/table.csv?content=devices&columns=objid,probe,group,device,id,parentid,host&count=* |
Let me know if it works out for you.
Best regards.
Apr, 2018 - Permalink
Hi there,
Could you further explain what information you specifically need? You can surely get a list of sensors, together with the device name, however you can't export the host along with the sensors.
Best regards.
Apr, 2019 - Permalink
Would need objid, probe, group, device, host, sensor if possible also the "comment"
Apr, 2019 - Permalink
Hi there,
Then use the URL above and alter the &columns= to your needs. To get the comment simply use the "comments"-column. You can find a list of all available columns in your webinterface under "Setup > PRTG API > Live Data".
Best regards.
Apr, 2019 - Permalink
Hi there,
The reason is that the "sensor"-column is not available for devices. As mentioned, you can find a full list of columns under "Setup > PRTG API > Live Data". On the right side you see where this column can be used.
Best regards.
Apr, 2019 - Permalink
Hi there,
You can use this script to get a list:
https://helpdesk.paessler.com/en/support/solutions/articles/76000064806#reply-239980
Best regards.
Apr, 2019 - Permalink
Hi Samuel,
Yes, this is possible. To do this, use the following API-Call:
If you want just the devices of a certain group, then add the following parameter together with the ID of the group:
Afterwards you can open this Comma Separated Values file in Excel. To divide the data into multiple rows, just navigate to "Data > Text to Columns > Delimited > Comma".
Best regards.
Apr, 2018 - Permalink