Skip to content

Miscellaneous

lordmilko edited this page Nov 11, 2017 · 12 revisions

C#

PRTG System Status

The current system of a PRTG Server, including license, configuration and version details can be retrieved using the GetStatus method.

var status = client.GetStatus();

PowerShell

Open PRTG Objects

PrtgAPI can open any Sensor, Device, Group or Probe in a web browser by piping the corresponding object to Open-PrtgObject

Get-Sensor -Tags wmicpu* | Open-PrtgObject

Open-PrtgObject will open a new tab for each object in your systems default web browser. Care should be taken when opening too many tabs at once.

PRTG System Status

The current system of a PRTG Server, including license, configuration and version details can be retrieved using the Get-PrtgStatus cmdlet.

C:\> Get-PrtgStatus

DateTime        : 11/11/2017 10:36:11 PM
Version         : 17.4.33.3283
NewLogs         : 0
NewAlarms       : 2
LicenseType     : Commercial
IsCluster       : True
ClusterNodeType : Master
ClusterNodeName : PRTG Network Monitor (Master)
...
Clone this wiki locally