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?