All MIBs › FLOW-METER-MIB › flowInterfaceSampleRate
flowInterfaceSampleRate
Module: FLOW-METER-MIB
OID (symbolic): FLOW-METER-MIB::flowInterfaceSampleRate
OID (numeric): 1.3.6.1.2.1.40.1.2.1.1
Node type: OBJECT-TYPE
Type: Integer32
Access: read-write
Description: 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.
What is flowInterfaceSampleRate?
Sets the sampling divisor N for this interface: the meter counts 1 in every N packets, with 1 meaning every packet is counted and 0 meaning the interface is ignored entirely. An admin raises this on a very high-traffic interface to reduce meter load at the cost of statistical accuracy.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.2.1.40.1.2.1.1 snmpwalk -v2c -c public <target> FLOW-METER-MIB::flowInterfaceSampleRate
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.2.1.40.1.2.1.1.1 snmpget -v2c -c public <target> FLOW-METER-MIB::flowInterfaceSampleRate.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.2.1.40.1.2.1.1.1 i <value>
Start monitoring Vendor-neutral RTFM traffic flow meter/router, any manufacturer (RFC 2720) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the FLOW-METER-MIB::flowInterfaceSampleRate OID value, configure state conditions and alerts, and monitor any Vendor-neutral RTFM traffic flow meter/router, any manufacturer (RFC 2720) from a single console.
OID Breakdown
Upper-level ancestors (6 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.2 | mgmt | AXON-MIB |
| 1.3.6.1.2.1 | mib_2 | AXON-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.2.1.40 | flowMIB | FLOW-METER-MIB |
| 1.3.6.1.2.1.40.1 | flowControl | FLOW-METER-MIB |
| 1.3.6.1.2.1.40.1.2 | flowInterfaceTable | FLOW-METER-MIB |
| 1.3.6.1.2.1.40.1.2.1 | flowInterfaceEntry | FLOW-METER-MIB |
| 1.3.6.1.2.1.40.1.2.1.1 | flowInterfaceSampleRate | FLOW-METER-MIB |