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

Is it possible to script a sensor pause after an alert triggers?

Votes:

0

I have been able to setup PRTG to run a powershell script when a particular sensor triggers as "down" for a certain period. However, after the script runs, it takes about 20 minutes before the system is "ready". Is it possible to script the sensor (or better yet the parent device) to pause for X minutes after the powershell script runs? I need for it to not go into a loop that keeps detecting a "down" state and running the powershell script over and over.

Thanks

powershell prtg script

Created on Mar 17, 2014 10:48:20 PM



1 Reply

Votes:

0

You can use/create a http notification where you pause the object via an api call - please have a look at the API documentation -> Setup -> PRTG API -> Object manipulation and use this notification in a state trigger on the respective sensor. Please have a look at http://www0.paessler.com/knowledgebase/en/topic/2803-automatically-pause-a-down-sensor

Created on Mar 18, 2014 11:04:59 AM by  Waltraud Bestelmeyer (110) 2 1

Last change on Mar 19, 2014 8:04:11 AM by  Waltraud Bestelmeyer (110) 2 1




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.