Определение условия "Частота ошибок на входе сетевого адаптера" (if-mib dot3)
System.NetworkManagement.NetworkAdapter.InputErrorRate.ifMIB_dot3 (ConditionDetectionModuleType)
Element properties:
Member Modules:
Source Code:
<ConditionDetectionModuleType ID="System.NetworkManagement.NetworkAdapter.InputErrorRate.ifMIB_dot3" Stateful="false" Accessibility="Internal" PassThrough="false" Batching="false">
<Configuration>
<xsd:element minOccurs="1" name="OIDifHCInUcastPkts" type="xsd:string"/>
<xsd:element minOccurs="1" name="OIDifHCInMulticastPkts" type="xsd:string"/>
<xsd:element minOccurs="1" name="OIDifHCInBroadcastPkts" type="xsd:string"/>
<xsd:element minOccurs="1" name="OIDifInDiscards" type="xsd:string"/>
<xsd:element minOccurs="1" name="OIDifInErrors" type="xsd:string"/>
<xsd:element minOccurs="1" name="OIDifInUnknownProtos" type="xsd:string"/>
<xsd:element minOccurs="1" name="OIDdot3StatsAlignmentErrors" type="xsd:string"/>
<xsd:element minOccurs="1" name="OIDdot3StatsFCSErrors" type="xsd:string"/>
<xsd:element minOccurs="1" name="OIDdot3StatsFrameTooLongs" type="xsd:string"/>
<xsd:element minOccurs="1" name="OIDdot3StatsInternalMacReceiveErrors" 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/OIDifHCInUcastPkts$"]/Value</XPathQuery>
</NumericValue>
</Delta>
</NumericValue>
<NumericValue>
<Delta DeltaComputationType="RatePerSecond">
<NumericValue>
<XPathQuery Type="Double">SnmpVarBinds/SnmpVarBind[OID="$Config/OIDifHCInMulticastPkts$"]/Value</XPathQuery>
</NumericValue>
</Delta>
</NumericValue>
<NumericValue>
<Delta DeltaComputationType="RatePerSecond">
<NumericValue>
<XPathQuery Type="Double">SnmpVarBinds/SnmpVarBind[OID="$Config/OIDifHCInBroadcastPkts$"]/Value</XPathQuery>
</NumericValue>
</Delta>
</NumericValue>
<NumericValue>
<Delta DeltaComputationType="RatePerSecond">
<NumericValue>
<XPathQuery Type="Double">SnmpVarBinds/SnmpVarBind[OID="$Config/OIDifInDiscards$"]/Value</XPathQuery>
</NumericValue>
</Delta>
</NumericValue>
<NumericValue>
<Delta DeltaComputationType="RatePerSecond">
<NumericValue>
<XPathQuery Type="Double">SnmpVarBinds/SnmpVarBind[OID="$Config/OIDifInErrors$"]/Value</XPathQuery>
</NumericValue>
</Delta>
</NumericValue>
<NumericValue>
<Delta DeltaComputationType="RatePerSecond">
<NumericValue>
<XPathQuery Type="Double">SnmpVarBinds/SnmpVarBind[OID="$Config/OIDifInUnknownProtos$"]/Value</XPathQuery>
</NumericValue>
</Delta>
</NumericValue>
</Summation>
</NumericValue>
</ValueExpression>
</SimpleExpression>
</Expression>
<TrueValueExpression>
<NumericValue>
<Value>0</Value>
</NumericValue>
</TrueValueExpression>
<FalseValueExpression>
<NumericValue>
<Product>
<NumericValue>
<Division>
<NumericValue>
<BranchValueExpression>
<Expression>
<SimpleExpression>
<ValueExpression>
<NumericValue>
<Summation>
<NumericValue>
<Delta DeltaComputationType="RatePerSecond">
<NumericValue>
<XPathQuery Type="Double">SnmpVarBinds/SnmpVarBind[OID="$Config/OIDdot3StatsAlignmentErrors$"]/Value</XPathQuery>
</NumericValue>
</Delta>
</NumericValue>
<NumericValue>
<Delta DeltaComputationType="RatePerSecond">
<NumericValue>
<XPathQuery Type="Double">SnmpVarBinds/SnmpVarBind[OID="$Config/OIDdot3StatsFCSErrors$"]/Value</XPathQuery>
</NumericValue>
</Delta>
</NumericValue>
<NumericValue>
<Delta DeltaComputationType="RatePerSecond">
<NumericValue>
<XPathQuery Type="Double">SnmpVarBinds/SnmpVarBind[OID="$Config/OIDdot3StatsFrameTooLongs$"]/Value</XPathQuery>
</NumericValue>
</Delta>
</NumericValue>
<NumericValue>
<Delta DeltaComputationType="RatePerSecond">
<NumericValue>
<XPathQuery Type="Double">SnmpVarBinds/SnmpVarBind[OID="$Config/OIDdot3StatsInternalMacReceiveErrors$"]/Value</XPathQuery>
</NumericValue>
</Delta>
</NumericValue>
</Summation>
</NumericValue>
</ValueExpression>
<Operator>GreaterEqual</Operator>
<ValueExpression>
<NumericValue>
<Delta DeltaComputationType="RatePerSecond">
<NumericValue>
<XPathQuery Type="Double">SnmpVarBinds/SnmpVarBind[OID="$Config/OIDifInErrors$"]/Value</XPathQuery>
</NumericValue>
</Delta>
</NumericValue>
</ValueExpression>
</SimpleExpression>
</Expression>
<TrueValueExpression>
<NumericValue>
<Summation>
<NumericValue>
<Delta DeltaComputationType="RatePerSecond">
<NumericValue>
<XPathQuery Type="Double">SnmpVarBinds/SnmpVarBind[OID="$Config/OIDdot3StatsAlignmentErrors$"]/Value</XPathQuery>
</NumericValue>
</Delta>
</NumericValue>
<NumericValue>
<Delta DeltaComputationType="RatePerSecond">
<NumericValue>
<XPathQuery Type="Double">SnmpVarBinds/SnmpVarBind[OID="$Config/OIDdot3StatsFCSErrors$"]/Value</XPathQuery>
</NumericValue>
</Delta>
</NumericValue>
<NumericValue>
<Delta DeltaComputationType="RatePerSecond">
<NumericValue>
<XPathQuery Type="Double">SnmpVarBinds/SnmpVarBind[OID="$Config/OIDdot3StatsFrameTooLongs$"]/Value</XPathQuery>
</NumericValue>
</Delta>
</NumericValue>
<NumericValue>
<Delta DeltaComputationType="RatePerSecond">
<NumericValue>
<XPathQuery Type="Double">SnmpVarBinds/SnmpVarBind[OID="$Config/OIDdot3StatsInternalMacReceiveErrors$"]/Value</XPathQuery>
</NumericValue>
</Delta>
</NumericValue>
</Summation>
</NumericValue>
</TrueValueExpression>
<FalseValueExpression>
<NumericValue>
<Delta DeltaComputationType="RatePerSecond">
<NumericValue>
<XPathQuery Type="Double">SnmpVarBinds/SnmpVarBind[OID="$Config/OIDifInErrors$"]/Value</XPathQuery>
</NumericValue>
</Delta>
</NumericValue>
</FalseValueExpression>
</BranchValueExpression>
</NumericValue>
<NumericValue>
<Summation>
<NumericValue>
<Delta DeltaComputationType="RatePerSecond">
<NumericValue>
<XPathQuery Type="Double">SnmpVarBinds/SnmpVarBind[OID="$Config/OIDifHCInUcastPkts$"]/Value</XPathQuery>
</NumericValue>
</Delta>
</NumericValue>
<NumericValue>
<Delta DeltaComputationType="RatePerSecond">
<NumericValue>
<XPathQuery Type="Double">SnmpVarBinds/SnmpVarBind[OID="$Config/OIDifHCInMulticastPkts$"]/Value</XPathQuery>
</NumericValue>
</Delta>
</NumericValue>
<NumericValue>
<Delta DeltaComputationType="RatePerSecond">
<NumericValue>
<XPathQuery Type="Double">SnmpVarBinds/SnmpVarBind[OID="$Config/OIDifHCInBroadcastPkts$"]/Value</XPathQuery>
</NumericValue>
</Delta>
</NumericValue>
<NumericValue>
<Delta DeltaComputationType="RatePerSecond">
<NumericValue>
<XPathQuery Type="Double">SnmpVarBinds/SnmpVarBind[OID="$Config/OIDifInDiscards$"]/Value</XPathQuery>
</NumericValue>
</Delta>
</NumericValue>
<NumericValue>
<Delta DeltaComputationType="RatePerSecond">
<NumericValue>
<XPathQuery Type="Double">SnmpVarBinds/SnmpVarBind[OID="$Config/OIDifInErrors$"]/Value</XPathQuery>
</NumericValue>
</Delta>
</NumericValue>
<NumericValue>
<Delta DeltaComputationType="RatePerSecond">
<NumericValue>
<XPathQuery Type="Double">SnmpVarBinds/SnmpVarBind[OID="$Config/OIDifInUnknownProtos$"]/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>