acctngFileCollectMode
ACCOUNTING-CONTROL-MIB ·
.1.3.6.1.2.1.60.1.2.1.1.9
Object
column r/w
Bits
An indication of when accounting data is to be written into
this file. Note that in addition to the occasions indicated
by the value of this object, an agent always writes
information on appropriate connections to the file when the
corresponding instance of acctngFileCommand is set to
'collectNow'.
- 'onRelease' - whenever a connection (or possibly,
connection attempt) is terminated, either through
a Release message or through management removal,
information on that connection is written.
- 'periodically' - information on appropriate connections
is written on the expiry of a periodic timer,
This value may be modified at any time.
Context
- MIB
- ACCOUNTING-CONTROL-MIB
- OID
.1.3.6.1.2.1.60.1.2.1.1.9- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- acctngFileEntry
- Groups
- 1
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 'ACCOUNTING-CONTROL-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ACCOUNTING-CONTROL-MIB::acctngFileCollectMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ACCOUNTING-CONTROL-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ACCOUNTING-CONTROL-MIB::acctngFileCollectMode.<acctngFileIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ACCOUNTING-CONTROL-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ACCOUNTING-CONTROL-MIB::acctngFileCollectMode'
Syntax
Bits
Values & Constraints
Enumerated Values
0 | onRelease |
1 | periodically |
Conformance
Member of
Compliance refinements
Values:
onRelease(0)
The minimal requirement is for collection on
connection release.
connection release.