Frekvens för SNMP-prestandaprovider

System.NetworkManagement.SnmpPerformanceProvider.Rate (DataSourceModuleType)

Datakälla för SNMP-prestanda

Element properties:

TypeDataSourceModuleType
IsolationAny
AccessibilityPublic
RunAsDefault
OutputTypeSystem.Performance.Data

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource System.NetworkManagement.ComputedPerfProvider Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
Intervalint$Config/Interval$IntervallAntalet sekunder mellan begäranden av prestandadata
NoOfRetriesint$Config/NoOfRetries$Antal försökAntal nya försök för en begäran om prestandadata om tidsgränsen uppnås
Timeoutint$Config/Timeout$TidsgränsTid (i millisekunder) innan tidsgränsen uppnås för begäran om prestandadata

Source Code:

<DataSourceModuleType ID="System.NetworkManagement.SnmpPerformanceProvider.Rate" Accessibility="Public" Batching="false">
<Configuration>
<IncludeSchemaTypes>
<SchemaType>System!System.ParamListSchema</SchemaType>
<SchemaType>System.ExpressionEvaluatorSchema</SchemaType>
</IncludeSchemaTypes>
<xsd:element name="Interval" type="xsd:integer"/>
<xsd:element name="NoOfRetries" type="xsd:unsignedInt"/>
<xsd:element name="Timeout" type="xsd:unsignedInt"/>
<xsd:element name="OID" type="xsd:string"/>
<xsd:element name="ObjectName" type="xsd:string"/>
<xsd:element name="CounterName" type="xsd:string"/>
<xsd:element name="UnitFactor" type="xsd:decimal"/>
</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="DS" TypeID="System.NetworkManagement.ComputedPerfProvider">
<Interval>$Config/Interval$</Interval>
<NoOfRetries>$Config/NoOfRetries$</NoOfRetries>
<Timeout>$Config/Timeout$</Timeout>
<SnmpVarBinds>
<SnmpVarBind>
<OID>$Config/OID$</OID>
<Syntax>0</Syntax>
<Value VariantType="8"/>
</SnmpVarBind>
</SnmpVarBinds>
<ComputedPerformanceValue>
<Delta DeltaComputationType="RatePerSecond">
<NumericValue>
<Product>
<NumericValue>
<XPathQuery Type="Double">SnmpVarBinds/SnmpVarBind[OID="$Config/OID$"]/Value</XPathQuery>
</NumericValue>
<NumericValue>
<Value>$Config/UnitFactor$</Value>
</NumericValue>
</Product>
</NumericValue>
</Delta>
</ComputedPerformanceValue>
<ObjectName>$Config/ObjectName$</ObjectName>
<CounterName>$Config/CounterName$</CounterName>
</DataSource>
</MemberModules>
<Composition>
<Node ID="DS"/>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>Performance!System.Performance.Data</OutputType>
</DataSourceModuleType>