Custom Notification EXE file
Modified on 2025-06-10 21:58:01 +0200
Attention: This article is a record of a conversation with the Paessler support team. The information in this conversation is not updated to preserve the historical record. As a result, some of the information or recommendations in this conversation might be out of date.
Important: We no longer maintain this article. The information might be out of date.
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
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.
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