How to Create a WMI Performance Collection Rule in Operations Manager 2007
Applies To: Operations Manager 2007 R2, Operations Manager 2007 SP1
Use the following procedure to create a Windows Management Instrumentation (WMI) performance-based collection rule in Operations Manager 2007. The data collected by the rule will display in performance views for the targeted objects. For an overview of WMI, see http://go.microsoft.com/fwlink/?LinkId=71799.
To create a WMI performance collection rule in Operations Manager 2007
Start the Operations Manager 2007 Create Rule Wizard.
For information about starting the Create Rule Wizard, see How to Start the Create Rule Wizard in Operations Manager 2007.
On the Select a Rule Type page, do the following:
Expand Collection Rules, expand Performance Based, and then click WMI Performance.
Select a Management pack from the list or click New to create a management pack with the Create a Management Pack Wizard.
The rule will be added to the specified management pack; therefore, only unsealed management packs are listed. By default, when you create a management pack object, disable a rule or monitor, or create an override, Operations Manager saves the setting to the Default Management Pack. As a best practice, you should create a separate management pack for each sealed management pack you want to customize, rather than saving your customized settings to the Default Management Pack. For more information, see Default Management Pack.
On the Rule Name and Description page, do the following:
Type the Rule name, such as Operations Manager 2007 HealthService HandleCount.
Click Select, select a target, such as Windows Computer, and then click OK.
Leave Rule is enabled selected to have the rule take affect at the completion of the wizard, or clear the check box to enable the rule at a later time, and click Next.
On the Configure WMI Settings page, do the following:
Type the WMI Namespace, such as root\cimv2 to connect to the namespace where the Microsoft Win32 provider classes reside.
Type the Query, such as Select * from Win32_Process Where NAME = "HealthService.exe".
Type the Frequency to run the query on the targeted computers and click Next.
On the Performance Mapper page, do the following:
Type the Object name, such as Operations Manager 2007.
Type the Counter name, such as HealthService.
Type the Instance name, such as Default.
Click the Value (…) button. In the Performance Mapper - Value dialog box, click Data, and then click Property.
In the Value text box, replace [PropertyName], including the brackets, with the desired property, such as HandleCount, and then click OK.
All of the fields must be mapped. Static values, such as HealthService, or properties, such as HandleCount, can be used in the fields.