Improvements
C#
- Implemented support for resolving objects created via
AddSensor
,AddDevice
,AddGroup
andAddNotificationTrigger
. Can be disabled by setting optional parameterresolve
tofalse
- Installing PrtgAPI from NuGet no longer imports PowerShell Help files into solution
- PrtgAPI.cmd is now included in NuGet, allowing a PrtgAPI PowerShell prompt to be easily opened from your NuGet packages folder
PowerShell
Get-Sensor
,Get-Device
,Get-Group
andGet-Probe
can now filter for objects that contain all specified tags via-Tags
parameter. Filtering for objects that contain any specified tag (previous-Tags
behavior) can now be performed with new-Tag
parameter- PrtgAPI.cmd can now be used regardless of the folder name the PrtgAPI module is installed in
General
NotificationAction
objects now include enhanced properties detailing the specifics of each notification type they perform and the users these alerts are sent to
Bugfixes
C#
- Implemented missing call to
ConfigureAwait(false)
on several methods
PowerShell
- Fixed a bug wherein progress did not complete when an exception is thrown by a multi operation cmdlet
General
- Resolved an issue wherein
ErrorLimitMessage
andWarningLimitMessage
cannot be modified andLimitsEnabled
cannot be set totrue
viaSetObjectProperty
/Set-ChannelProperty
on PRTG 18.1.38+. Attempting to modify these properties when a limit value has not been set on theUpperErrorLimit
,LowerErrorLimit
,UpperWarningLimit
orLowerWarningLimit
of a channel will now generate anInvalidOperationException
specifying the IDs of the sensors that require a limit - Fixed a bug wherein
PrtgUrl
construction would crash when the search filters of a request have been explicitly set tonull
Breaking Changes
PowerShell
-Tags
parameter ofGet-Sensor
,Get-Device
,Get-Group
andGet-Probe
now performs logical AND instead of logical OR. Previous-Tags
behavior can be attained via new-Tag
parameter