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


Custom Notification EXE file

Votes:

0

Your Vote:

Up

Down

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

custom notifocatin sensor

Created on Oct 26, 2016 9:44:17 AM by  mattias180 (0) 1



1 Reply

Votes:

0

Your Vote:

Up

Down

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

Created on Oct 27, 2016 1:59:53 PM by  Jochen Greger [Paessler Support]



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.