What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags

View all Tags

Create notification with powershell




I have a notification template "My notification". I want to create a notification for the group: get-group -id 67572 | Add-NotificationTrigger $Notif But I get an error Add-NotificationTrigger : Cannot bind argument to parameter 'Parameters' because it is null. At line:1 char:54 + get-group -id 67572 | Add-NotificationTrigger $Notif + ~~~~~~ + CategoryInfo : InvalidData: (:) [Add-NotificationTrigger], ParameterBindingValidationException + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,PrtgAPI.PowerShell.Cmdlets.AddNotificationTrigger I try to clone from existing get-group -id 67572 | Get-Trigger -Type State -Inherited $false | Clone-Object -DestinationId 78120 but also a mistake Clone-Object : Requested value 'Ошибка' was not found. At line:1 char:74 + ... ger -Type State -Inherited $false | Clone-Object -DestinationId 78120 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Copy-Object], ArgumentException + FullyQualifiedErrorId : System.ArgumentException,PrtgAPI.PowerShell.Cmdlets.CloneObject

What am I doing wrong?

How to create a notification from a template?

How to create a notification through cloning?

cloning create notification powershell prtg prtgapi ps

Created on Mar 11, 2019 7:29:49 AM

Last change on Mar 11, 2019 8:08:15 AM by  Stephan Linke [Paessler Support]


Nobody has replied yet

Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.