Skip to content
lordmilko edited this page Aug 25, 2018 · 20 revisions

Welcome to PrtgAPI!

The PrtgAPI project provides a .NET library exposing C# and PowerShell interfaces for

  • Serializion of requests sent to PRTG Servers, and
  • Deserializion of responses received from PRTG Servers
C:\> Get-Sensor ping

Name                Id      Device      Group           Probe            Status
----                --      ------      -----           -----            ------
PING                2010    dc1         Servers         Local Probe      Up
Ping                2011    dc2         Servers         Local Probe      Down
Ping                2012    exch1       Servers         Remote Probe     DownAcknowledged

PrtgAPI features complete XmlDoc/Get-Help documentation. For instructions on installing PrtgAPI see Installation. To get started using PrtgAPI, see Getting Started

Project Overview

The PrtgAPI repo consists of three projects

  • PrtgAPI
  • PrtgAPI.Tests.UnitTests
  • PrtgAPI.Tests.IntegrationTests

PrtgAPI contains the core library, while the UnitTests and IntegrationTests projects contain a variety of tests to validate the functionality of the library.

Clients are able to interface with PRTG via four types of requests

  • Synchronous
  • Asynchronous
  • Stream
  • Query

For more information on each type, please see the Requests page.

Clone this wiki locally