Type de fournisseur de performances calculées
System.NetworkManagement.ComputedPerfProvider (DataSourceModuleType)
Calcule une valeur de performance.
Element properties:
Member Modules:
Overrideable Parameters:
Source Code:
<DataSourceModuleType ID="System.NetworkManagement.ComputedPerfProvider" Accessibility="Public" Batching="false">
<Configuration>
<IncludeSchemaTypes>
<SchemaType>System!System.ParamListSchema</SchemaType>
<SchemaType>System.ExpressionEvaluatorSchema</SchemaType>
<SchemaType>Snmp!System.SnmpVarBindsSchema</SchemaType>
</IncludeSchemaTypes>
<xsd:element minOccurs="1" name="Interval" type="xsd:integer"/>
<xsd:element minOccurs="0" maxOccurs="1" default="3" name="NoOfRetries" type="xsd:unsignedInt"/>
<xsd:element minOccurs="0" maxOccurs="1" default="1500" name="Timeout" type="xsd:unsignedInt"/>
<xsd:element minOccurs="1" name="SnmpVarBinds" type="SnmpVarBindsType"/>
<xsd:element minOccurs="1" name="ComputedPerformanceValue" type="NumericValueExpressionType"/>
<xsd:element minOccurs="1" name="ObjectName" type="xsd:string"/>
<xsd:element minOccurs="1" name="CounterName" type="xsd:string"/>
<xsd:element name="OutputOnError" type="xsd:string" minOccurs="0" maxOccurs="1" default="false"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="Interval" Selector="$Config/Interval$" ParameterType="int"/>
<OverrideableParameter ID="NoOfRetries" Selector="$Config/NoOfRetries$" ParameterType="int"/>
<OverrideableParameter ID="Timeout" Selector="$Config/Timeout$" ParameterType="int"/>
</OverrideableParameters>
<ModuleImplementation Isolation="Any">
<Composite>
<MemberModules>
<DataSource ID="SnmpDataSource" TypeID="System.NetworkManagement.Host.ExtendedSnmpQueryProvider">
<Interval>$Config/Interval$</Interval>
<NoOfRetries>$Config/NoOfRetries$</NoOfRetries>
<Timeout>$Config/Timeout$</Timeout>
<SnmpVarBinds>$Config/SnmpVarBinds$</SnmpVarBinds>
<OutputOnError>$Config/OutputOnError$</OutputOnError>
</DataSource>
<ConditionDetection ID="ComputePerfValue" TypeID="System.NetworkManagement.Computation">
<NumericValue>$Config/ComputedPerformanceValue$</NumericValue>
</ConditionDetection>
<ConditionDetection ID="Mapper" TypeID="Performance!System.Performance.DataGenericMapper">
<ObjectName>$Config/ObjectName$</ObjectName>
<CounterName>$Config/CounterName$</CounterName>
<InstanceName/>
<Value>$Data/Value$</Value>
</ConditionDetection>
</MemberModules>
<Composition>
<Node ID="Mapper">
<Node ID="ComputePerfValue">
<Node ID="SnmpDataSource"/>
</Node>
</Node>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>Performance!System.Performance.Data</OutputType>
</DataSourceModuleType>