How the interface_traffic probe calculates interface speed

Document ID : KB000057361
Last Modified Date : 14/02/2018
Show Technical Document Details
Interface Speed is determined from the OID of ifSpeed

1.3.6.1.2.1.2.2.1.5.

There are two conditions in the code:

1. If the MIB variable/OID ifSpeed is not present on the device, it will fetch ifHighSpeed

1.3.6.1.2.1.31.1.1.1.15

2. If IfSpeed has all 1?s - its max value, then it will fetch ifHighSpeed.

1.3.6.1.2.1.31.1.1.1.15

Units of the Speed are as per standard definitions of the same in the MIB.

The probe sends 2 types of QOSs - inBound & outbound and here are their OID values:

ifOutOctets ".1.3.6.1.2.1.2.2.1.16."
ifInOctets ".1.3.6.1.2.1.2.2.1.10."
ifHCInOctets ".1.3.6.1.2.1.31.1.1.1.6."
ifHCOutOctets ".1.3.6.1.2.1.31.1.1.1.10."

For Inbound traffic %, the formula used is (delta OctIn / ifSpeed ) * 100 i.e. [ ( Current Sample Value of OctIn - Last Sample of OctIn ) / ifSpeed ] * 100

For Outbound traffic %, the formula used is (delta OctOut / ifSpeed ) * 100 i.e. [ ( Current Sample Value of OctOut - Last Sample of OctOut ) / ifSpeed ] * 100