Monitoring Windows Services

Certain applications in Windows machine run in the background as services. OpManager discovers and monitors the status of such services using WMI monitoring.  OpManager generates alarms whenever they fail.


To monitor Windows services, OpManager should be installed in a Windows machine. OpManager uses WMI to monitor the Windows services and hence you need to provide the log on details of a user with administrative privilege to connect to the device. So, make sure you configure a WMI credential so that you can apply this to the windows devices.

Add Windows Services to a Device 

To monitor a Windows service, follow the steps given below:

  1. Go to Inventory> Click on the device for which you wish to add a windows service.
  2. Confirm if the correct WMI credential is associated to the device. Else, configure the credential details in the device.
  3. Click Monitors> Windows Service Monitors. This option will be available only for Windows servers.
  4. Click Add Monitor > Select the services to be monitored in the device.
  5. If  you wish to associate the monitor to existing devices, click on Save & Associate. This option will prompt you to select the required devices to which the monitor must be associated
  6. Select the required devices and click on Save. 
  7. If you wish to only add the monitor ( and not associate it to any of the existing devices ), click on Save.

Note: The polling interval cannot be set at single monitor level. This value is same as the polling interval of the device.

Associate Windows Service Monitors to several devices

  1. Go to Inventory > Click on the device for which you wish to associate windows service.
  2. Click Monitors> Windows Service Monitors> Click Associate Monitor at the top of the page.
  3. Select the service you wish to associate and click Associate. The selected service monitor is associated to the device.

Configuring Alerts

By default OpManager raises an alarm if a Windows service is down. If required you can configure OpManager to raise an alarm if the service unavailable for a N number of times consecutively. 

  1. Go to the device snapshot page.
  2. Monitors> Windows Service Monitors, click on the edit icon corresponding to the Windows service for which you want to configure the alert.
  3. Modify the count entered for 'Generate alarm if unavailable for _ consecutive times'. For example if you enter the value as 2, OpManager will raise alarm only if the service is unavailable for 2 consecutive polls.
  4. You also have to option to either restart the service (automatically restart a service when the service is down) or restart the server (automatically restart the server when a service is down). Select the check box and the appropriate radio button.
  5. Click Save.