Hello,

I what to accomplish this.

A process sensor that monitors the memory usages of a process. When it gets to high a script to restart a service on a windows server is executed. The first part is easy. i have a sensor that monitors a process and warns me by email when memory usage is high. But my script to restart a service doesnt work. I can select my script in notifications but nothing happens. The script is just a net stop and net start. Could it be that i requieres elevated previgeles? How do you accomplish that? Not really sure where the script is executed, if its on the prtg probe server how can i restart a service on another server?

Regards Mattias


Article Comments

Hello,

you have to store the notification script on the Core Server under C:\Program Files (x86)\PRTG Network Monitor\Notifications\EXE. In the script ou have to insert the paramters to connect to the target device first. Detailed Information about exe notifications can be found under http://yourserver/api.htm?tabid=8


Oct, 2016 - Permalink