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


Article Comments

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


Mar, 2014 - Permalink