New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

200.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free PRTG
Download >>

 

What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

 

Top Tags


View all Tags


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

Votes:

0

Your Vote:

Up

Down

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 by  Peter Bollwerk (0) 1



1 Reply

Votes:

0

Your Vote:

Up

Down

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

Last change on Mar 19, 2014 8:04:11 AM by  Waltraud Bestelmeyer



Please log in or register to enter your reply.


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.