Microsoft.SystemCenter.SdkPerformanceDataProvider
Applies To: System Center 2012 - Operations Manager, System Center 2012 R2 Operations Manager, System Center 2012 SP1 - Operations Manager
The Microsoft.SystemCenter.SdkPerformanceDataProvider data source module type provides custom performance data that has been inserted by means of the Operations Manager SDK. The module returns Microsoft.SystemCenter.Performance.LinkedData data as output.
Usage
Use this module within a rule when you want to retrieve custom performance data that has been inserted by means of the Operations Manager SDK. Custom performance data insertion is commonly used within the context of Operation Manager Connectors. For information about Connectors, see Connecting to External Systems by Using Operations Manager Connectors. For information about how to insert custom performance data with the SDK, see How to Insert Custom Event and Performance Data.
Type Definition
<DataSourceModuleType ID="Microsoft.SystemCenter.SdkPerformanceDataProvider" Accessibility="Public" Batching="false">
<Configuration />
<ModuleImplementation Isolation="Any">
<Composite>
<MemberModules>
<DataSource ID="SdkDataSourceInternal" TypeID="Microsoft.SystemCenter.InternalSdkPerformanceDataProvider" />
<ConditionDetection ID="Mapper" TypeID="Microsoft.SystemCenter.SdkPerfDataMapper">
<RuleId>$MPElement$</RuleId>
</ConditionDetection>
</MemberModules>
<Composition>
<Node ID="Mapper">
<Node ID="SdkDataSourceInternal" />
</Node>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>Microsoft.SystemCenter.Performance.LinkedData</OutputType>
</DataSourceModuleType>
Parameters
The Microsoft.SystemCenter.SdkPerformanceDataProvider module does not require any configuration parameters.
Composition
The Microsoft.SystemCenter.SdkPerformanceDataProvider module is a composite module that contains the member modules described in the following table.
Workflow Run Order | Module Type | Usage |
---|---|---|
1 |
Microsoft.SystemCenter.InternalSdkPerformanceDataProvider |
Internal module. |
2 |
Microsoft.SystemCenter.SdkPerfDataMapper |
Internal module. |
Related Modules
Module Type | Usage |
---|---|
Provides custom event data that has been inserted by means of the Operations Manager SDK. |
External Module References
None.
Sample
The following XML sample illustrates how you can use the Microsoft.SystemCenter.SdkPerformanceDataProvider module type from within a rule that writes the data to the database whenever a performance counter value is greater than 20.
<Rule ID="System.Connectors.Test.AlertOnThreshold" Enabled="true" Target="SCLibrary!Microsoft.SystemCenter.RootManagementServer" ConfirmDelivery="false">
<Category>Alert</Category>
<DataSources>
<DataSource TypeID="SCLibrary!Microsoft.SystemCenter.SdkPerformanceDataProvider" ID="DataSource" />
</DataSources>
<ConditionDetection TypeID="System!System.ExpressionFilter" ID="ConditionDetection">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>Value</XPathQuery>
</ValueExpression>
<Operator>Greater</Operator>
<ValueExpression>
<Value>20</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SCLibrary!Microsoft.SystemCenter.CollectPerformanceData" />
</WriteActions>
</Rule>
The Microsoft.SystemCenter.SdkPerformanceDataProvider module in the above sample rule would output something like the following:
<DataItem type="System.Performance.Data" sourceHealthServiceId="{00000000-0000-0000-0000-000000000000}" time="2007-09-20T20:53:37.798528Z">
<ObjectName>TheObject</ObjectName>
<CounterName>TheCounter</CounterName>
<InstanceName />
<IsNull>false</IsNull>
<Value>80</Value>
<ManagedEntityId>{6c974804-c14c-9992-4738-01f40d767860}</ManagedEntityId>
<RuleId>{00000000-0000-0000-0000-000000000000}</RuleId>
</DataItem>
Information
Module Type |
|
Input Type |
None |
Output Type |
|
Implementation |
Composite |
Library |
Microsoft.Windows.Library |