New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

300.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


Monitor Windows Services and Receive Email Notifications

Votes:

0

Your Vote:

Up

Down

So I'm looking for a way to check our remote Windows servers and verify that specific services are running using PRTG. If those services aren't already running, I'd like the sensor to automatically attempt to restart them. I'd like to receive an email notification just as we do with our other PRTG sensor alarms if the service is restarted or fails to restart. I've seen the script here: https://kb.paessler.com/en/topic/13803-how-to-monitor-multiple-windows-services-in-1-sensor that seems to do most of this, but if I'm understanding correctly, it doesn't appear to email and I'm not sure how to go about adding it or if there's a better way to do this given the improvements to PRTG since 2011.

notifications prtg services

Created on Jun 5, 2015 7:21:31 PM by  ArchFan08 (0) 1



1 Reply

Votes:

0

Your Vote:

Up

Down

Hello,

The script of the linked article will return "1", if the service could not properly restart the service. You can enter the channel settings and enter "1" for the upper error limit.

You can now add a state trigger to the sensor in PRTG which sends a notification as soon as the alert occurs. You can use the placeholder %lastmessage to display which service failed.

Best regards

Created on Jun 9, 2015 12:44:59 PM by  Felix Saure [Paessler Support]

Last change on Jun 9, 2015 12:49:10 PM by  Felix Saure [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.