bnLogMsgBufferMsgCode
BN-LOG-MESSAGE-MIB ·
.1.3.6.1.4.1.45.1.6.16.1.1.10.1.5
Object
column SNMPv2-SMIInteger32
The message code indicating the originator of and the reason why a log message has been generated. This code, coupled with the log message parameters that are associated with the message, should provide a thorough understanding of the log message.
Context
- MIB
- BN-LOG-MESSAGE-MIB
- OID
.1.3.6.1.4.1.45.1.6.16.1.1.10.1.5- Type
- column
- Access
- readonly
- Status
- current
- Parent
- bnLogMsgBufferEntry
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 'BN-LOG-MESSAGE-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BN-LOG-MESSAGE-MIB::bnLogMsgBufferMsgCode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BN-LOG-MESSAGE-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BN-LOG-MESSAGE-MIB::bnLogMsgBufferMsgCode.<bnLogMsgBufferMsgOrig>.<bnLogMsgBufferMsgTime>.<bnLogMsgBufferMsgIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BN-LOG-MESSAGE-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BN-LOG-MESSAGE-MIB::bnLogMsgBufferMsgCode'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647