github lordmilko/PrtgAPI v0.8.4
PrtgAPI 0.8.4

latest releases: v0.9.19, v0.9.18, v0.9.17...
6 years ago

New Methods

  • PrtgClient.GetDeviceTemplates: Retrieves all device templates supported for use in an auto-discovery

New Cmdlets

  • Get-DeviceTemplate: Retrieves all device templates supported for use in an auto-discovery

Improvements

  • Device templates can now be specified to NewDeviceParameters. Specifying one or more templates will automatically set the AutoDiscoveryMode to AutomaticTemplate (#11)
  • Manual auto-discoveries performed by AutoDiscover / Start-AutoDiscovery can now specify one or more device templates to limit the scope to the discovery
  • Implemented new property Is64Bit on ServerStatus returned by GetStatus / Get-PrtgStatus
  • CustomParameter objects can now specify a ParameterType to indicate whether their values should be treated a single values (name=val), multi values (name=val1,val2) or multi parameters (name=val1&name=val2)
  • Custom parameters used by RawSensorParameters / DynamicSensorParameters now use ParameterType.MultiParameter by default (#12)

PowerShell

  • Added new parameter -Template to Add-Device. When used in conjunction with -AutoDiscover, retrieves all device templates that match one or more specified wildcards
  • Implemented new parameter -Downtime on Get-SensorHistory. When -Average is not specified, sets the average based on the scanning interval of the sensor, allowing the Downtime column to be included in response. For more information see the wiki
  • Implemented new parameter -ProbeStatus on Get-Probe. Allows filtering for probes with a specified ProbeStatus
  • Set-ObjectProperty now allows specifying multiple raw values at once for use with a single raw property

Bugfixes

  • Results returned by GetSensorTypes / Get-SensorType no longer include duplicate types returned by PRTG
  • Raw settings that allow for multiple selections (such as Traffic Mode of SNMP Traffic sensors) returned by GetObjectPropertiesRaw / Get-ObjectProperty -Raw now display correctly

PowerShell

  • Fixed a bug wherein Get-SensorHistory would not stream properly when an -EndDate is specified
  • Fixed an issue wherein several cmdlets would perform their actions before displaying initial progress
  • Fixed an issue wherein sensor target resolution would crash when PRTG did not include an error message in its error response (such as when its Host value has changed)

Breaking Changes

  • Renamed Probe property Condition to ProbeStatus

Don't miss a new PrtgAPI release

NewReleases is sending notifications on new releases.