<%NUMBERING1%>.<%NUMBERING2%>.<%NUMBERING3%> PRTG Manual: Live Data

You can access live data and live status data of objects using the PRTG API.

Getting Single Object Property

You can get the properties or settings of a single object such as name, hostname, or URL using the PRTG API.

icon-book-arrowsSee section Single Object Property for more information.

Getting Single Object Status

You can get the status of a single object such as last value or downtime using the PRTG API.

icon-book-arrowsSee section Single Object Status for more information.

Getting Multiple Object Property or Status

You can get the property or status of multiple objects and use sorting and advanced filtering using the PRTG API.

icon-book-arrowsSee section Multiple Object Property or Status for more information.

Getting System Information

You can get current system information from the System Information tables using the PRTG API.

icon-book-arrowsSee section System Information for more information.

Current PRTG System Status

You can also get the current PRTG system status such as the number of alarms or messages using the following API calls.

icon-speechExamples

Current system status in the Extensible Markup Language (XML) format:

/api/getstatus.xml?id=0

Current system status in the JavaScript Object Notation (JSON) format:

/api/getstatus.json?id=0

All currently used sensors in the JSON format:

/api/sensortypesinuse.json

Current number of all sensor states:

/api/gettreenodestats.xml

More

Knowledge Base: How can I use the PRTG Application Programming Interface (API)?

Application Programming Interface (API) Definition—Topics

Keywords: