Microsoft.SystemCenter.CollectPerformanceData

Applies To: System Center 2012 - Operations Manager, System Center 2012 R2 Operations Manager, System Center 2012 SP1 - Operations Manager

The Microsoft.SystemCenter.CollectPerformanceData write action module type takes System.Performance.Data data as input and writes the performance data to the Operations Manager database.

Usage

This module is commonly used by any rule that stores incoming performance data in the Operations Manager database. It is often used together with the Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData write action module to store the data in the System Center data warehouse.

Type Definition

<WriteActionModuleType ID="Microsoft.SystemCenter.CollectPerformanceData" Accessibility="Public" Batching="false">
  <Configuration />
  <ModuleImplementation Isolation="Any">
    <Composite>
      <MemberModules>
        <ConditionDetection ID="Mapper" TypeID="Microsoft.SystemCenter.Performance.LinkedDataMapper">
          <ManagedEntityId>$Target/Id$</ManagedEntityId>
          <RuleId>$MPElement$</RuleId>
        </ConditionDetection>
        <WriteAction ID="WA" TypeID="System!System.PublishData">
          <ManagementGroupId>$Target/ManagementGroup/Id$</ManagementGroupId>
          <ChannelId>7EB72AED-8069-4289-B9EB-00A29230B4D0</ChannelId>
        </WriteAction>
      </MemberModules>
      <Composition>
        <Node ID="WA">
          <Node ID="Mapper" />
        </Node>
      </Composition>
    </Composite>
  </ModuleImplementation>
  <InputType>Performance!System.Performance.Data</InputType>
</WriteActionModuleType>

Parameters

The Microsoft.SystemCenter.CollectPerformanceData module takes no configuration parameters.

Composition

The Microsoft.SystemCenter.CollectPerformanceData module is a composite module that contains the member modules described in the following table.

Workflow Run Order Module Type Usage

1

Microsoft.SystemCenter.Performance.LinkedDataMapper

Links the event data to the target ID.

2

System.PublishData

Writes the data to the Operations Manager database.

Module Type Usage

Microsoft.SystemCenter.DataWarehouse.PublishEventData

Writes event data to the data warehouse.

Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData

Writes performance data to the System Center Data Warehouse database.

Microsoft.SystemCenter.CollectEvent

Writes event data to the Operations Manager database.

External Module References

None.

Sample

The following XML example is a rule that collects performance data from an ASP.NET performance counter and writes it to both the System Center data warehouse database and the Operations Manager database:

<Rule ID="Microsoft.Windows.InternetInformationServices.2008.WebServer.ASP.NETApplicationsRequestsInApplicationQueue.Collection" Enabled="false" Target="Microsoft.Windows.InternetInformationServices.2008.WebServer" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
  <Category>PerformanceCollection</Category>
  <DataSources>
    <DataSource ID="PerformanceDS" TypeID="SystemPerf!System.Performance.OptimizedDataProvider">
      <ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
      <CounterName>Requests In Application Queue</CounterName>
      <ObjectName>ASP.NET Applications</ObjectName>
      <InstanceName>__Total__</InstanceName>
      <AllInstances>false</AllInstances>
      <Frequency>300</Frequency>
      <Tolerance>5</Tolerance>
      <ToleranceType>Percentage</ToleranceType>
      <MaximumSampleSeparation>4</MaximumSampleSeparation>
    </DataSource>
  </DataSources>
  <WriteActions>
    <WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData" />
    <WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData" />
  </WriteActions>
</Rule>

Information

   

Module Type

WriteActionModuleType

Input Type

System.Event.Data

Output Type

None.

Implementation

Composite

Library

Microsoft.SystemCenter.Library