tmnxLogApToFileType
TIMETRA-LOG-MIB ·
.1.3.6.1.4.1.6527.3.1.2.12.4.1.15
Object
column r/w
Enumeration
The value of tmnxLogApToFileType specifies where records of an
accounting policy are stored. It should be set along with
tmnxLogApToFileId which specifies the destination file index where the
accounting records are stored.
When the value of tmnxLogApToFileType is 'noFile', it indicates that
the accounting records will not to be stored in a file and the value
of tmnxLogApToFileId should be set to zero.
When the value of tmnxLogApToFileType is 'fileId', it indicates that
the accounting records will be stored in a file specified by
tmnxLogApToFileId.
tmnxLogApOperStatus will transition to 'inService' when the
tmnxLogApToFileType is set to 'noFile' or 'fileId'.
Context
- MIB
- TIMETRA-LOG-MIB
- OID
.1.3.6.1.4.1.6527.3.1.2.12.4.1.15- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- tmnxLogApEntry
- 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 'TIMETRA-LOG-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TIMETRA-LOG-MIB::tmnxLogApToFileType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'TIMETRA-LOG-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TIMETRA-LOG-MIB::tmnxLogApToFileType.<tmnxLogApPolicyId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'TIMETRA-LOG-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'TIMETRA-LOG-MIB::tmnxLogApToFileType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | fileId |
1 | noFile |
Conformance
Member of