Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This article explores how to restart any Windows service with an action profile as an alternative to creating a specific action profile for each Windows service. 

Create a service monitor

Start by creating a Service Monitor as follows:

...

To create a service monitor

  1. Select the Windows Service Check monitor.

...

  1. Note

    You must match the Service Name to the Windows Service Display Name. This name

...

  1. is leveraged later to select the Windows

...

  1. service to start. Note that Microsoft has both a Display Name and a Service Name. We want the Display Name

...

  1. , as shown in the following images.


    Image ModifiedImage Modified
  2. Complete the remainder of the Service Monitor window making sure that the Windows Service - Service Name is also the Display Name.

...

  1. Make sure to select options that allow you to raise a Critical

...

  1. alert when the

...

  1. service status is Stopped.

...

  1. Your

...

  1. service monitor settings should look

...

  1. the following example.
    Image Modified

Create a recovery script

We are going to leverage a Recovery Script in an Action Profile to Start the Windows Service. This will be a very simple script. We are going to leverage two key components built into Uptime Infrastructure Monitor:

...