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

  1. Start the Operations Manager 2007 Create Rule Wizard.

    Note

    For information about starting the Create Rule Wizard, see How to Start the Create Rule Wizard in Operations Manager 2007.

  2. On the Select a Rule Type page, do the following:

    1. Expand Collection Rules, expand Performance Based, and then click WMI Performance.

    2. Select a Management pack from the list or click New to create a management pack with the Create a Management Pack Wizard.

      Note

      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.

    3. Click Next.

  3. On the Rule Name and Description page, do the following:

    1. Type the Rule name, such as Operations Manager 2007 HealthService HandleCount.

    2. Click Select, select a target, such as Windows Computer, and then click OK.

    3. 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.

  4. On the Configure WMI Settings page, do the following:

    1. Type the WMI Namespace, such as root\cimv2 to connect to the namespace where the Microsoft Win32 provider classes reside.

    2. Type the Query, such as Select * from Win32_Process Where NAME = "HealthService.exe".

    3. Type the Frequency to run the query on the targeted computers and click Next.

  5. On the Performance Mapper page, do the following:

    1. Type the Object name, such as Operations Manager 2007.

    2. Type the Counter name, such as HealthService.

    3. Type the Instance name, such as Default.

    4. Click the Value () button. In the Performance Mapper - Value dialog box, click Data, and then click Property.

    5. In the Value text box, replace [PropertyName], including the brackets, with the desired property, such as HandleCount, and then click OK.

      Important

      All of the fields must be mapped. Static values, such as HealthService, or properties, such as HandleCount, can be used in the fields.

    6. Click Create.

See Also

Tasks

How to Start the Create Rule Wizard in Operations Manager 2007