Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to monitor Windows services [closed]

I'm looking for a way to monitor certain Windows services (on Windows Server 2003) and restart if necessary. The services are on different servers and include mainly SQL Server services (e.g. SQL Server Agent), but also some proprietary services.

Email alerts sent out if a service has stopped would be very useful as well.

like image 680
Craig Avatar asked Nov 17 '08 11:11

Craig


1 Answers

A "might be enough" version of this is built into Windows. Look into the "Recovery" tab of the service properties, as available via services.msc.

You can act on a service fail with:

  • "Restart the Service"
  • "Run a Progam"
  • "Restart the Computer"

"Run a program" could be a small script that sends a mail, for example.

If you want a bigger solution with an overview dashboard and all, there are plenty of system monitoring solutions available. For example SolarWinds IPMonitor comes to mind, or Nagios, or Cacti.

like image 179
Tomalak Avatar answered Sep 22 '22 04:09

Tomalak