articleAutomatically restarting a Windows service

Related Documentation Version of up.time affected Affected Platforms
All Windows


Overview

By setting up an action profile (that tells up.time how to deal with problems on a monitored system), up.time can automatically restart a service on a Windows server when that service goes down.

Configuring up.time to Restart a Service

To configure up.time to restart a Windows service:

  1. Click Services on the up.time toolbar.
  2. Click Add New Action Profile.
  3. Enter a descriptive name for the action profile in the Name of Action Profile field.
  4. Specify the number of times an error must occur before up.time sends a notification in the Start Action on Notification Number field.
  5. Specify the number of times the action will be carried out in the End Action on Notification Number field (or select the Never Stop Notifying option to continually carry out the action in this profile until the problem is resolved).
  6. Complete the following settings in the Add Action Profile window:

    • Windows Host: name of the system on which the service is running.
    • Agent Port: the port on which the up.time agent installed on the system is listening (default is 9998).
    • Windows Service: name of the Windows service that this action profile will restart.

      For example, to restart the service that creates a network connection, enter Remote Access Connection Manager in this field.

    • Action: select the Restart option.
    • up.time Agent Password: the password required to access the agent that is running on the monitored system.
    • Use SSL: select this option if up.time will securely communicate with the host using SSL (see Implementing SSL for the Web Interface).

    The following image illustrates the action profile defined above:

  7. Click Save.

NOTE: the up.time Agent Password will need to be set on the agent server using the up.time Agent Admin Console.


Applying the Action Profile to a Monitor

After the action profile is created, apply it to a Windows Service Check monitor by selecting the name of the profile from the Action Profile dropdown list in the monitor definition window. Ensure that the service name specified in the monitor matches the one in the action profile.

For more information on configuring a Windows Service Check monitor, refer to the Windows Service Check section in the Microsoft Windows Monitors chapter of the up.time User Guide.

Related Articles


Monitoring and automatically restarting a Windows Service

RatingViews
article

With a combination of up.time's Windows Service monitor and action profile up.time is able to monitor the status of a Windows service and automatically restart it. 1 - Ensure that the agent...

By: uptime Support | Date Created: 10-8-2009 | Last Modified: 8-13-2011 | Index: 403

  3746

Starting and Stopping up.time

RatingViews
article

This article describes how to start and stop up.time services.

By: uptime Support | Date Created: 5-29-2008 | Last Modified: 6-27-2011 | Index: 233

  5932

Enabling the Windows Messaging Service

RatingViews
article

This article explains how to enable the Windows Messaging Service, which is used to send pop-up alerts.

By: uptime Support | Date Created: 6-28-2007 | Last Modified: 6-28-2011 | Index: 190

  10673

How to add service dependencies for Windows services

RatingViews
article

Below is a command to add the "up.time Data Store" service as a dependency for the "up.time Data Collector" service to run. This should not be used if using a database backend other than the...

By: uptime Support | Date Created: 10-14-2009 | Last Modified: 8-10-2011 | Index: 432

  3471

Can't access Windows Installer Service

RatingViews
article

Problem: - Try to install Windows agent and receive the following error: "The Windows Installer Service could not be accessed. This can occur if you are running Windows in safe mode, or if the...

By: uptime Support | Date Created: 10-10-2009 | Last Modified: 8-13-2011 | Index: 408

  2312

User Comments



No comments have been posted.

Copyright © 2021 IDERA, Inc.   Legal   Privacy Statement