applOpenFileMode

APPLICATION-MIB · .1.3.6.1.2.1.62.1.2.2.1.4

Object

column Enumeration
This attribute reports the current mode of this file from
the perspective of this running application element.
              
These values have the following meanings:
              
    read(1) - file opened for reading only
    write(2) - file opened for writing only
    readWrite(3) - file opened for read and write.
              
These values correspond to the POSIX/ANSI C library
function fopen() 'type' parameter, using the following
mappings:
              
    r -> read(1)
    w -> write(2)
    a -> write(2)
    + -> readWrite(3)

Context

MIB
APPLICATION-MIB
OID
.1.3.6.1.2.1.62.1.2.2.1.4
Type
column
Access
readonly
Status
current
Parent
applOpenFileEntry
Groups
1

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

Syntax

Enumeration

Values & Constraints

Enumerated Values
1read
2write
3readWrite

Conformance