acctngFileIndex
ACCOUNTING-CONTROL-MIB ·
.1.3.6.1.2.1.60.1.2.1.1.1
Object
column FileIndex
A unique value identifying a file into which accounting data is to be stored. This value is required to be the permanent 'handle' for an entry in this table for as long as that entry exists, including across restarts and power outages.
Context
- MIB
- ACCOUNTING-CONTROL-MIB
- OID
.1.3.6.1.2.1.60.1.2.1.1.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- acctngFileEntry
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::acctngFileIndex'
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::acctngFileIndex.<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::acctngFileIndex'