article Monitoring and automatically restarting a Windows Service

up.time is able to monitor the status of a Windows service and automatically restart it by using a combination of the Windows Service monitor and an action profile.  To set this up:

  • Ensure that the agent CmdsPassword value in registry key HKLM\Software\uptime software\uptime agent\ is set and then restart the up.time agent service on your target agent system.
  • Create an action profile to restart your target service.  Under the Windows Service section, enter the following values:
    • Windows Host: name of the target agent you would like to restart the service on.
    • Agent Port: agent listening port (9998 by default).
    • Windows Service: full Windows service name.
    • Action: Start.
    • up.time Agent Password: password as set in step 1.
    • Use SSL: Yes/No.
  • Save the Action Profile and test it to ensure the service is restarted correctly.
  • Create a Windows Service check service monitor against the agent you wish to monitor the service on.  Be sure to use the full service name within the monitor settings and choose to alert if the service is not running. Assign the service monitor to the action profile created in step 2.

Related Articles


Automatically restarting a Windows service

RatingViews
article

Use an up.time action profile to automatically restart a stopped Windows service.

By: uptime Support | Date Created: 12-12-2006 | Last Modified: 7-28-2011 | Index: 105

  8527

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

  5931

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

  10671

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

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

User Comments



No comments have been posted.

Copyright © 2021 IDERA, Inc.   Legal   Privacy Statement