Enterprise SIEM, Centralized Log Management, Security, Compliance, Server Monitoring and Uptime Monitoring Software
Table of Contents

Windows Service Monitor Template

The Windows Service Monitor Template enables you to monitor a service's consumed resources and running state (e.g. Started or Stopped). Services can, optionally, be stopped or started depending on state. This template is typically used by systems administrators to monitor service services on servers for resource consumption and running state. The Windows Service Monitor Template uses WMI to query service information.

  • From the Menu Bar, select File | New. The Create New Object View displays.
  • From the Create New Object View, expand Templates | Windows Monitors then select Service Monitor. The New Template Properties View displays.
  • The Template Properties view contains 4 tabs.

The Options Tab

  • Use the Windows server or workstation drop-down to select the Windows host you would like to monitor.
    Once selected, the host is automatically assigned to this template.
  • Use the Services drop-down to select the target service.
    When first dropped down, the drop-down asynchronously queries the selected host for the available services. The drop-down contents may take a moment to display.
  • Use the Function drop-down to select the function. The following options are available:
    OptionDescription
    If running, monitor resourcesIf the service is running, monitors the trigger criteria, otherwise, the monitor fires critical actions.
    Verify runningIf the service is not running, the monitor fires critical actions.
    If stopped, startIf the service is not running, the monitor starts the service then fires critical actions.
    Verify stoppedIf the service is running, the monitor fires critical actions.
    If running, stopIf the service is running, the monitor stops the service then fires critical actions.
    If running, restartIf the service is running, the monitor restarts the service then fires critical actions.
  • If starting or restarting the service, use the Arguments text box to include any required command-line parameters.
  • Use the Set monitor state to check box to override the critical monitor state when the function rule is triggered. Once checked, use the drop-down to select the desired state.
    To restart a service every night without triggering actions, set the monitor state to OK.
  • Use the Resource Consumption Trigger Thresholds controls to apply resource monitoring warning and critical trigger criteria.
    For more information on the available criteria, see Win32_Process Class.
    This template includes an extra criteria not listed in Microsoft's documentation called 'CPUUtilization'. Use this criteria to calculate the CPU % utilization.
  • Click the Test button to verify the template is configured property and the monitor executes as expected.
  • Finally, select the General Tab, then click the click the Auto-Generate Name button to auto-generate a name based on the configured settings.
    Windows Service Monitor Properties

Related Topics

General Tab

Actions Tab

Win32_Process Class

Windows Monitor Templates