ethCurrentOctets
SL-ETH-MIB ·
.1.3.6.1.4.1.4515.1.1.1.2.1.3
Object
column SNMPv2-SMICounter64
The total number of octets of data (including those
in bad packets) received on the network (excluding
framing bits but including FCS octets).
This object can be used as a reasonable estimate of
10-Megabit ethernet utilization. If greater precision is
desired, the etherStatsPkts and etherStatsOctets objects
should be sampled before and after a common interval. The
differences in the sampled values are Pkts and Octets,
respectively, and the number of seconds in the interval is
Interval. These values are used to calculate the Utilization
as follows:
Pkts * (9.6 + 6.4) + (Octets * .8)
Utilization = -------------------------------------
Interval * 10,000
The result of this equation is the value Utilization which
is the percent utilization of the ethernet segment on a
scale of 0 to 100 percent.
Context
- MIB
- SL-ETH-MIB
- OID
.1.3.6.1.4.1.4515.1.1.1.2.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- ethCurrentEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'SL-ETH-MIB' -M '/opt/observium/mibs/packetlight:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SL-ETH-MIB::ethCurrentOctets'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SL-ETH-MIB' -M '/opt/observium/mibs/packetlight:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SL-ETH-MIB::ethCurrentOctets.<ethCurrentIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SL-ETH-MIB' -M '/opt/observium/mibs/packetlight:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SL-ETH-MIB::ethCurrentOctets'
Syntax
- Source
- SNMPv2-SMICounter64
- Base type
Unsigned64
Values & Constraints
Type Constraints
range: 0..18446744073709551615