Page History
Uptime Infrastructure Monitor 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:up monitoring and automatically restarting a Windows service
- Ensure that the agent CmdsPassword value in registry key HKLM\Software
\\uptime software\uptime agent\ is set, and then restart the Uptime Infrastructure Monitor UIM 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 . Name of the target agent you would like to restart the service on.
- Agent Port: agent . Agent listening port (9998 by default).
- Windows Service: full . Full Windows service name.
- Action: . Start.
- Uptime Infrastructure Monitor Agent Password: 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.