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


restart service in a time window

Votes:

0

Your Vote:

Up

Down

I want to restart a service in a time window (between 05:00 and 18:00) outside this time window only a notification e-mail. Is this possible in PRTG?

prtg sensor wmi-sensors

Created on Aug 16, 2016 6:55:14 AM by  teo jongman (0) 1



2 Replies

Votes:

0

Your Vote:

Up

Down

It is possible by setting up two notifications. One that sends only Email, another one as "Execute Program" notification utilizing "ServiceRestart" executable from here. Configure schedules for each notification and apply them accordingly so that only the desired one is active in the respective period. Make sure to configure triggers for both notifications in "Notifications" tab for the sensor in question.

Also make sure to NOT use the "restart service" option inside the WMI Service sensor, since this option can either be active or not, but it cannot be bound to only work in specific timeframes. Restarting is then taken care of by the aforementioned notification that restarts the service then.

Kind regards.

Created on Aug 16, 2016 9:07:21 AM by  Erhard Mikulik [Paessler Support]



Votes:

0

Your Vote:

Up

Down

Thanks, works perfect

Created on Aug 17, 2016 7:24:04 AM by  teo jongman (0) 1



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.