flowInterfaceSampleRate

FLOW-METER-MIB · .1.3.6.1.2.1.40.1.2.1.1

Object

column r/w SNMPv2-SMIInteger32
The parameter N for statistical counting on this interface.
Set to N to count 1/Nth of the packets appearing at this
interface.  A sampling rate of 1 counts all packets.
A sampling rate of 0 results in the interface being ignored
by the meter.
              
A meter should choose its own algorithm to introduce variance
into the sampling so that exactly every Nth packet is counted.
The IPPM Working Group's RFC 'Framework for IP Performance
Metrics' [IPPM-FRM] explains why this should be done, and sets
out an algorithm for doing it.

Context

MIB
FLOW-METER-MIB
OID
.1.3.6.1.2.1.40.1.2.1.1
Type
column
Access
readwrite
Status
current
Parent
flowInterfaceEntry
Groups
2

Walk 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 'FLOW-METER-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FLOW-METER-MIB::flowInterfaceSampleRate'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'FLOW-METER-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FLOW-METER-MIB::flowInterfaceSampleRate.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'FLOW-METER-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'FLOW-METER-MIB::flowInterfaceSampleRate'

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647