You can use the Windows Service template to monitor a service running on Windows computers. You can monitor whether a service is running, the percentage of available CPU the service is consuming, and the memory allocated only to this service (also referred to as “private bytes”). You can also monitor a service that is clustered. The following procedures provide detailed information for monitoring both clustered and unclustered services.
Note |
---|
If you created a Windows Service monitor in a previous release of Essentials, you have to open the existing monitor in the Essentials console. A wizard walks you through the process of providing the new information that is required by the upgraded template. |
-
Start the Add Monitoring wizard.
-
On the Select Monitoring Type page, select Windows Service, and then click Next.
-
On the General Properties page, type a name and description for this new monitor.
-
Select a management pack in which to save the monitor. You can accept the default, select a different existing management pack, or create a new management pack.
Note By default, when you create a management pack object, disable a rule or monitor, or create an override, Essentials saves the setting to the default management pack. As a best practice, you should create a separate management pack for each sealed management pack that you want to customize, rather than saving your customized settings to the default management pack. For more information, see Default Management Pack. -
Click Next.
-
In the Service Name field, type the name of the specific service you want to monitor, such as Alerter. You can also browse for the service.
-
Under Target Group, specify the group of computers on which you want to monitor the service.
-
By default, only those services that are set to start automatically when Windows starts are monitored. Any services with their startup value set to manual or anything other than Automatic are not monitored. To change this, clear the Monitor only Automatic services option.
-
Click Next.
-
Select the performance counters that you want to monitor. You have the following choices:
- Generate an alert if CPU usage exceeds the specified threshold
- Monitors the CPU usage (by percentage of available CPU) for the service. Specify a percentage of processor time that, if exceeded, triggers an alert.
- Generate an alert if memory usage exceeds the specified threshold
- Monitors the number of bytes, in MB, allocated only to this service.. Specify the number of bytes, in MB, that, if exceeded, triggers an alert.
-
Specify the sample size for the monitor. Before the monitor triggers an alert, a set number of samples must have exceeded the defined thresholds.
-
Specify the monitoring interval, in seconds, minutes, or hours.
-
Click Next.
-
Review the summary of the monitor, and then click Create.
-
Create a new group that contains objects of class Virtual Server. For information about creating groups, see How to Create Groups in System Center Essentials.
-
Start the Add Monitoring wizard.
-
On the Select Monitoring Type page, select Windows Service, and then click Next.
-
On the General Properties page, type a name and description for this new monitor.
-
Select a management pack in which to save the monitor. You can accept the default, select a different existing management pack, or create a new management pack.
Note By default, when you create a management pack object, disable a rule or monitor, or create an override, Essentials saves the setting to the default management pack. As a best practice, you should create a separate management pack for each sealed management pack that you want to customize, rather than saving your customized settings to the default management pack. For more information, see Default Management Pack. -
Click Next.
-
In the Service Name field, type the name of the specific service you want to monitor, such as Alerter. You can also browse for the service.
-
Under Target Group, specify the Virtual Server group that you created to contain all instances of the clustered service.
-
Clear the option to Monitor only Automatic services.
-
Click Next.
-
Select the performance counters that you want to monitor. You have the following choices:
- Generate an alert if CPU usage exceeds the specified threshold
- Monitors the CPU usage (by percentage of available CPU) for the service. Specify a percentage of processor time that, if exceeded, triggers an alert.
- Generate an alert if memory usage exceeds the specified threshold
- Monitors the number of bytes, in MB, allocated only to this service. Specify the number of bytes, in MB, that if exceeded triggers an alert.
-
Specify the sample size for the monitor. Before the monitor triggers an alert, a set number of samples must have exceeded the defined thresholds.
-
Specify the monitoring interval, in seconds, minutes, or hours.
-
Click Next.
-
Review the summary of the monitor, and then click Create.