DHCP Performance Data Filter Mapper

Microsoft.Windows.DHCPServer.2012.CD.PerfFilter (ConditionDetectionModuleType)


This condition detection object is used by performance collection rules to map/transform a chosen property bag item to a SCOM performance counter object. Once the property bag item is converted to a performance counter, thresholds, trending and other standard performance data rules can be created.
This mapper is necessary when the managed application/component does not expose the instrumentation through the standard performance counter API or when advanced computed performance information is needed.

Knowledge Base article:

Summary

This condition detection object is used by performance collection rules to map/transform a chosen property bag item to a SCOM performance counter object. Once the property bag item is converted to a performance counter, thresholds, trending and other standard performance data rules can be created. This mapper is necessary when the managed application/component does not expose the instrumentation through the standard performance counter API or when advanced computed performance information is needed.

Configuration

Object Name: Object Name to use in mapper.

Counter Name: Counter Name to use in mapper.

Instance Name: Instance Name to use in mapper.

Element properties:

TypeConditionDetectionModuleType
IsolationAny
AccessibilityPublic
RunAsDefault
OutputTypeSystem.Performance.Data

Member Modules:

ID Module Type TypeId RunAs 
Filter ConditionDetection System.ExpressionFilter Default
Mapper ConditionDetection System.Performance.DataGenericMapper Default

Source Code:

<ConditionDetectionModuleType ID="Microsoft.Windows.DHCPServer.2012.CD.PerfFilter" Accessibility="Public" Batching="false" Stateful="false" PassThrough="false">
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ObjectName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="CounterName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="InstanceName" type="xsd:string"/>
</Configuration>
<OverrideableParameters/>
<ModuleImplementation Isolation="Any">
<Composite>
<MemberModules>
<ConditionDetection ID="Mapper" TypeID="Performance!System.Performance.DataGenericMapper">
<ObjectName>$Data/Property[@Name='ObjectName']$</ObjectName>
<CounterName>$Data/Property[@Name='CounterName']$</CounterName>
<InstanceName>$Data/Property[@Name='InstanceName']$</InstanceName>
<Value>$Data/Property[@Name='Value']$</Value>
</ConditionDetection>
<ConditionDetection ID="Filter" TypeID="System!System.ExpressionFilter">
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='ObjectName']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Config/ObjectName$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='CounterName']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Config/CounterName$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</ConditionDetection>
</MemberModules>
<Composition>
<Node ID="Mapper">
<Node ID="Filter"/>
</Node>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>Performance!System.Performance.Data</OutputType>
<InputTypes>
<InputType>System!System.BaseData</InputType>
</InputTypes>
</ConditionDetectionModuleType>