Table of Contents
- System Requirements
- Assign Service Logon As Credentials
- Server Configuration
- Agent-Based Monitoring
- Data Providers
- Directory Services
- Audit Work Items
- Template Properties
- Batch Update Templates
- Log Management Templates
- File and Directory Monitor Templates
- Windows Monitor Templates
- Account Lockout Monitor Template
- Logon Monitor Template
- CPU Monitor Template
- Memory Monitor Template
- Disk Space Monitor Template
- SMART Monitor Template
- Process Monitor Template
- Service Monitor Template
- Performance Counter Monitor Template
- PowerShell Script Template
- Registry Value Monitor Template
- Active Directory User Monitor Template
- Active Directory User Integrity Monitor Template
- Task Scheduler Template
- Clock Synchronization Template
- Defragment NTFS Disks Template
- Network and Application Monitor Templates
- Database Monitor Template
- Directory Service Monitor Template
- DNS Blacklist Monitor Template
- DNS Monitor Template
- Domain Expiration Monitor Template
- Network Speed Monitor Template
- Ping Monitor Template
- Database Table Reseed
- SQL Server Shrink and Backup Template
- SSH Shell
- TCP Port Scan Monitor Template
- Website Monitor Template
- SSL Certificate Monitor Templates
- Email Monitor Templates
- SNMP Monitor Templates
- Report Properties
- Security Reports
- Generic Log Reports
- File and Permission Reports
- Summary Reports
- Environment Variables
- Account Lockout Monitoring and Reporting
- SSH Shell
- Exporting and Importing Configuration Objects
- Shared Views
- Auto-Config Host Assignment Properties
- General Executable Properties
- Assign Actions
- Assign Directories
- Assign Disks
- Assign Shares
- Assign Files
- Assign Consolidated Logs
- Assign Event Logs
- Assign Azure Audit Logs
- Target Files and Sub-Directories
- Define Log Entry Columns
- Define Log Entry Columns with Regular Expressions
- Define CSV and W3C Log Entry Columns
- Active Directory User and Group Filters
- Explicitly Assigned Logs
- File Explorer
- Report Columns
- Report Date/Time Ranges
- Report Security Event Log Filters
- Select Folder or File
- Executable Timeline
- Command Line Interface
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.
- Agent Template
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:
Option Description If running, monitor resources If the service is running, monitors the trigger criteria, otherwise, the monitor fires critical actions. Verify running If the service is not running, the monitor fires critical actions. If stopped, start If the service is not running, the monitor starts the service then fires critical actions. Verify stopped If the service is running, the monitor fires critical actions. If running, stop If the service is running, the monitor stops the service then fires critical actions. If running, restart If 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 Template Properties