Mapper di filtri dati prestazioni DHCP

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


Questo oggetto di rilevamento condizione viene usato dalle regole di raccolta prestazioni per eseguire il mapping/trasformare un elemento del contenitore delle proprietà in un oggetto contatore prestazioni SCOM. Dopo avere convertito l'elemento del contenitore delle proprietà in un contatore prestazioni, è possibile create soglie, tendenze e altre regole dei dati delle prestazioni.
Questo mapper è necessario quando il componente o l'applicazione gestita non espone la strumentazione attraverso l'API del contatore prestazioni standard oppure quando sono necessarie informazioni sulle prestazioni calcolate avanzate.

Knowledge Base article:

Riepilogo

Questo oggetto di rilevamento condizione viene usato dalle regole di raccolta prestazioni per eseguire il mapping/trasformare un elemento del contenitore delle proprietà in un oggetto contatore prestazioni SCOM. Dopo avere convertito l'elemento del contenitore delle proprietà in un contatore prestazioni, è possibile create soglie, tendenze e altre regole dei dati delle prestazioni. Questo mapper è necessario quando il componente o l'applicazione gestita non espone la strumentazione attraverso l'API del contatore prestazioni standard oppure quando sono necessarie informazioni sulle prestazioni calcolate avanzate.

Configurazione

Nome oggetto: nome oggetto da usare nel mapper.

Nome contatore: nome contatore da usare nel mapper.

Nome istanza: nome istanza da usare nel 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.10.0.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>