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

Bulk Editing Notification Settings on Devices/Sensors



Hi there

Is it possible to bulk edit the notification settings on a device/sensor itself (so no changes are made to the actual notification template).

Essentially the process I am trying to achieve is;

1. Disable "Inherit All Triggers from parent objects and use the triggers defined above" 2. Enable "Only use the riggers defined above" 3. Create new State Trigger where

  • When sensor state is Down for at least 900 Seconds perform [NOTIFICATION TEMPLATE]
  • When sensor leaves down state after a notification was triggered, perform [NOTIFICATION TEMPLATE]

I would need to be able to "Select" a group of devices with "XXXXX" in the Device name first; which I believe is achieveable via the API.

Is this possible?

Kind regards Andy

api bulk-edit notifications prtg

Created on May 8, 2019 10:04:53 AM

2 Replies

Accepted Answer



Hi Andrewbeds,

You can do this fairly easily via PrtgAPI using PowerShell

You can modify whether Notification Triggers are inherited from the parent object by toggling the value of the InheritTriggers property

Get-Device *xxxxx* | Set-ObjectProperty InheritTriggers $false

To create a new Notification Trigger, use the New-Trigger cmdlet.

C:\> Get-Device *xxxxx* | New-Trigger -Type State -State Down -Latency 900 -OnNotificationAction "Ticket Notification" -OffNotificationAction "*push notification to admin*"

Type      ObjectId SubId Inherited ParentId Latency Condition Threshold Unit       OnNotificationAction
----      -------- ----- --------- -------- ------- --------- --------- ----       --------------------
State     2055     6     False     2055     900     Equals    Down                 Ticket Notification

For more information on using PrtgAPI, please see the wiki



Created on May 8, 2019 1:57:26 PM



Schön wäre aber auch eine Lösung innerhalb PRTGs. Die Frage/der Wunsch kam wohl schon von vielen Usern

Created on Jan 21, 2021 11:13:22 AM

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.