Interface Speed is determined from the OID of ifSpeed
There are two conditions in the code:
1. If the MIB variable/OID ifSpeed is not present on the device, it will fetch ifHighSpeed
2. If IfSpeed has all 1?s - its max value, then it will fetch ifHighSpeed.
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:
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