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 help !



Hello i want to request the API and get a result with the name of all my device, theirs IP address and filter this request only for the device where the ping is UP Could you help me to build this request please ? Thanks !

api help http-content-sensor

Created on Apr 17, 2020 10:03:36 AM

2 Replies



Hi Kevin,

You can do this fairly easily via PowerShell using PrtgAPI

Get-Device | where { ($_ | Get-Sensor ping).Status -eq "Up" } | select name,host



Created on Apr 17, 2020 10:56:31 AM



Hi Thanks for yout reply, but is it possible to get the same result with the LIve Data API ?

I have tried this request


But i can't get in one request this information : device,host when the PING of the device is UP

Is it possible to merge the content data, like /api/table.csv?content=sensors,devices&..... ?

Created on Apr 17, 2020 7:36:06 PM

Last change on Apr 17, 2020 7:38:58 PM by  Sven Roggenhofer [Paessler Technical 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.