• Network Performance
• Server & Virtualization
• Network Visualization
• Network Fault Management
• Data Center Management
• Storage Management
• Reports
• Multi-site & Remote Monitoring
• Mobile Application
• Network Monitoring Basics
• OpManager Alternatives
• Network Access Control

# How interface report data is calculated

Interface report data is calculated using the following formulas:

### Interface Traffic :

This refers to the amount of data transmitted or received via the interface at a given point of time (bits per second).

In Traffic(bps): Rx Traffic: Delta_InOctets*8*1000/deltatime

Out Traffic(bps): Tx Traffic: Delta_OutOctets*8*1000/deltatime

Example:

Lets consider thee deltatime to be 15 minutes (900 seconds = 900000 milliseconds).
InOctets taken at the 1st poll (0th Minute)= 1000
InOctets taken at the 2nd poll (15th Minute)= 2000
So, Rx traffic = ((2000-1000)*8*1000) /900000 = 8.9 Mbps

 InOctets (bytes) The difference between two ifInOctets collected at subsequent polls. OutOctets(bytes) The difference between two ifOutOctets collected at subsequent polls. ifInOctets (bytes) .1.3.6.1.2.1.2.2.1.10 The total number of octets received on the interface, including framing characters. ifOutOctets(bytes) .1.3.6.1.2.1.2.2.1.16 The total number of octets transmitted out of the interface, including framing characters. deltatime Time difference between two polls in milliseconds.

Note:
1. Multiplying by 8 is for converting bytes to bits.
2. Multiplying by 1000 is for converting 'per millisecond' to 'per second'.
3. The values mentioned in the above formulas are (InOctets, OutOctets) are the difference between two ifOctets values and not raw values.

### Interface Utilization :

This refers to the Network traffic / interface speed at a given point of time in percentage.

In Utilization(%): (InTraffic/Inspeed)*100(Delta_InOctets*8*1000*100/deltatime*inspeed)
Out Utilization(%): (OutTraffic/OutSpeed)*100 = (Delta_OutOctets*8*1000*100/deltatime*Outspeed)

 InOctets (bytes) The difference between two ifInOctets collected at subsequent polls. OutOctets(bytes) The difference between two ifOutOctets collected at subsequent polls. ifInOctets (bytes) .1.3.6.1.2.1.2.2.1.10 The total number of octets received on the interface, including framing characters. ifOutOctets(bytes) .1.3.6.1.2.1.2.2.1.16 The total number of octets transmitted out of the interface, including framing characters. deltatime Time difference between two polls. Inspeed/ifSpeed .1.3.6.1.2.1.2.2.1.5 An estimate of the interface\s current bandwidth in bits per second. (Can be defined by user). Outspeed/ifSpeed .1.3.6.1.2.1.2.2.1.5 An estimate of the interface\s current bandwidth in bits per second. (Can be defined by user).

### Packets :

This refers to the total number of packets transmitted or received per second.

Rx Packets = (INUCAST + INDISCARDS + INERRORS + INUNKNOWNPROTOS + HCINMCAST + HCINBCAST)*1000/ deltatime

Tx Packets = (OUTUCAST + HCOUTMCAST + HCOUTBCAST)*1000/deltatime

### Error Rate :

Error rate is the ratio between total number of Error packets and the total number of packets transmitted and received in percentage.

32-bit:

(InErrors+OutErrors)*100/(INUCAST + OUTUCAST + INDISCARDS + OUTDISCARDS + INERRORS + OUTERRORS + INUNKNOWNPROTOS + HCINBCAST + HCOUTBCAST)

64-bit:

(InErrors+OutErrors)*100/(INUCAST + OUTUCAST + INDISCARDS + OUTDISCARDS + INERRORS + OUTERRORS + INUNKNOWNPROTOS + HCINMCAST + HCOUTMCAST + HCINBCAST + HCOUTBCAST)

Discard rate is the total number of Discarded packets / total number of packets transmitted and received in percentage.

32-bit :

64-bit :>

### Total Bytes Transferred :

This refers to the total number of bytes transferred and received in the interface.

Rx Bytes = INOCTETS

Tx Bytes = OUTOCTETS

Total Bytes = INOCTETS + OUTOCTETS

 InOctets (bytes) The difference between two ifInOctets collected at subsequent polls. OutOctets(bytes) The difference between two ifOutOctets collected at subsequent polls. ifInOctets (bytes) .1.3.6.1.2.1.2.2.1.10 The total number of octets received on the interface, including framing characters. ifOutOctets(bytes) .1.3.6.1.2.1.2.2.1.16 The total number of octets transmitted out of the interface, including framing characters.

This refers to the total number of Error and Discard packets transmitted or received via the interface.

RxError = InErrors

 InErrors .1.3.6.1.2.1.2.2.1.14 The number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol. OutErrors .1.3.6.1.2.1.2.2.1.20 The number of outbound packets that could not be transmitted because of errors. INDISCARDS .1.3.6.1.2.1.2.2.1.13 The number of inbound packets which were chosen to be discarded even though no errors had been detected to prevent their being deliverable to a higher-layer protocol. One possible reason for discarding such a packet could be to free up buffer space. OUTDISCARDS .1.3.6.1.2.1.2.2.1.19 The number of outbound packets which were chosen to be discarded even though no errors had been detected to prevent their being transmitted. One possible reason for discarding such a packet could be to free up buffer space.

Video Zone
Altaleb Alshenqiti - Ministry of National Guard - Health Affairs

•  IT Admin from "Royal flying doctor service", Australia
Jonathan ManageEngine Customer
•  Michael - Network & Tech, ManageEngine Customer
Altaleb Alshenqiti - Ministry of National Guard - Health Affairs
•  David Tremont, Associate Directory of Infrastructure,USA
•  Donald Stewart, IT Manager from Crest Industries
John Rosser, MIS Manager - Yale Chase Equipment & Services

n