DHCP 性能数据筛选器映射器

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


性能收集规则将使用此条件检测对象,以将选定的属性包项目映射到/转换为 SCOM 性能计数器对象。将属性包项目转换为性能计数器之后,就可以创建阈值、趋势和其他标准性能数据规则。
当托管应用程序/组件未通过标准性能计数器 API 公开规范时,或当需要高级计算性能信息时,必须使用此映射器。

Element properties:

TypeConditionDetectionModuleType
IsolationAny
AccessibilityInternal
RunAsMicrosoft.Windows.DHCPServer.Library.ActionAccount
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.Library.CD.PerfFilter" Accessibility="Internal" RunAs="Microsoft.Windows.DHCPServer.Library.ActionAccount" Batching="false" Stateful="false" PassThrough="false">
<Configuration>
<IncludeSchemaTypes>
<SchemaType>System!System.ExpressionEvaluatorSchema</SchemaType>
</IncludeSchemaTypes>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Expression" type="ExpressionType"/>
<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"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Value" type="xsd:string"/>
</Configuration>
<OverrideableParameters/>
<ModuleImplementation Isolation="Any">
<Composite>
<MemberModules>
<ConditionDetection ID="Filter" TypeID="System!System.ExpressionFilter">
<Expression>$Config/Expression$</Expression>
</ConditionDetection>
<ConditionDetection ID="Mapper" TypeID="Performance!System.Performance.DataGenericMapper">
<ObjectName>$Config/ObjectName$</ObjectName>
<CounterName>$Config/CounterName$</CounterName>
<InstanceName>$Config/InstanceName$</InstanceName>
<Value>$Config/Value$</Value>
</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>