Detección de condición de tasa de descarte de entrada de adaptador de red (netcor)
System.NetworkManagement.NetworkAdapter.InputDiscardRate.MIB2 (ConditionDetectionModuleType)
Element properties:
Member Modules:
Source Code:
<ConditionDetectionModuleType ID="System.NetworkManagement.NetworkAdapter.InputDiscardRate.MIB2" Stateful="false" Accessibility="Internal" PassThrough="false" Batching="false">
<Configuration>
<xsd:element minOccurs="1" name="OIDifInUcastPkts" type="xsd:string"/>
<xsd:element minOccurs="1" name="OIDifInNUcastPkts" type="xsd:string"/>
<xsd:element minOccurs="1" name="OIDifInDiscards" type="xsd:string"/>
<xsd:element minOccurs="1" name="ObjectName" type="xsd:string"/>
<xsd:element minOccurs="1" name="CounterName" type="xsd:string"/>
</Configuration>
<ModuleImplementation Isolation="Any">
<Composite>
<MemberModules>
<ConditionDetection ID="Computation" TypeID="System.NetworkManagement.Computation">
<NumericValue>
<BranchValueExpression>
<Expression>
<SimpleExpression>
<ValueExpression>
<Value Type="Double">0.0</Value>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<NumericValue>
<Summation>
<NumericValue>
<Delta DeltaComputationType="RatePerSecond">
<NumericValue>
<XPathQuery Type="Double">SnmpVarBinds/SnmpVarBind[OID="$Config/OIDifInUcastPkts$"]/Value</XPathQuery>
</NumericValue>
</Delta>
</NumericValue>
<NumericValue>
<Delta DeltaComputationType="RatePerSecond">
<NumericValue>
<XPathQuery Type="Double">SnmpVarBinds/SnmpVarBind[OID="$Config/OIDifInNUcastPkts$"]/Value</XPathQuery>
</NumericValue>
</Delta>
</NumericValue>
<NumericValue>
<Delta DeltaComputationType="RatePerSecond">
<NumericValue>
<XPathQuery Type="Double">SnmpVarBinds/SnmpVarBind[OID="$Config/OIDifInDiscards$"]/Value</XPathQuery>
</NumericValue>
</Delta>
</NumericValue>
</Summation>
</NumericValue>
</ValueExpression>
</SimpleExpression>
</Expression>
<TrueValueExpression>
<NumericValue>
<Value>0</Value>
</NumericValue>
</TrueValueExpression>
<FalseValueExpression>
<NumericValue>
<Product>
<NumericValue>
<Division>
<NumericValue>
<Delta DeltaComputationType="RatePerSecond">
<NumericValue>
<XPathQuery Type="Double">SnmpVarBinds/SnmpVarBind[OID="$Config/OIDifInDiscards$"]/Value</XPathQuery>
</NumericValue>
</Delta>
</NumericValue>
<NumericValue>
<Summation>
<NumericValue>
<Delta DeltaComputationType="RatePerSecond">
<NumericValue>
<XPathQuery Type="Double">SnmpVarBinds/SnmpVarBind[OID="$Config/OIDifInUcastPkts$"]/Value</XPathQuery>
</NumericValue>
</Delta>
</NumericValue>
<NumericValue>
<Delta DeltaComputationType="RatePerSecond">
<NumericValue>
<XPathQuery Type="Double">SnmpVarBinds/SnmpVarBind[OID="$Config/OIDifInNUcastPkts$"]/Value</XPathQuery>
</NumericValue>
</Delta>
</NumericValue>
<NumericValue>
<Delta DeltaComputationType="RatePerSecond">
<NumericValue>
<XPathQuery Type="Double">SnmpVarBinds/SnmpVarBind[OID="$Config/OIDifInDiscards$"]/Value</XPathQuery>
</NumericValue>
</Delta>
</NumericValue>
</Summation>
</NumericValue>
</Division>
</NumericValue>
<NumericValue>
<Value>100</Value>
</NumericValue>
</Product>
</NumericValue>
</FalseValueExpression>
</BranchValueExpression>
</NumericValue>
</ConditionDetection>
<ConditionDetection ID="PerfMapper" TypeID="Performance!System.Performance.DataGenericMapper">
<ObjectName>$Config/ObjectName$</ObjectName>
<CounterName>$Config/CounterName$</CounterName>
<InstanceName/>
<Value>$Data/Value$</Value>
</ConditionDetection>
</MemberModules>
<Composition>
<Node ID="PerfMapper">
<Node ID="Computation"/>
</Node>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>Performance!System.Performance.Data</OutputType>
<InputTypes>
<InputType>Snmp!System.SnmpData</InputType>
</InputTypes>
</ConditionDetectionModuleType>