bnLogMsgBufferClearMsgs
BN-LOG-MESSAGE-MIB ·
.1.3.6.1.4.1.45.1.6.16.1.1.7
Object
scalar deprecated
r/w
Enumeration
Setting this object to clearMsgs(1) causes messages currently saved in the log message buffer facilities to be deleted. The type of entries to be deleted is determined by the bnLogMsgBufferClearTargets object. This object always returns the value savingMsgs(2) upon retrieval.
Context
- MIB
- BN-LOG-MESSAGE-MIB
- OID
.1.3.6.1.4.1.45.1.6.16.1.1.7- Type
- scalar
- Access
- readwrite
- Status
- deprecated
- Parent
- bnLogMsgMIBObjects
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar 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::bnLogMsgBufferClearMsgs.0'
More examples
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::bnLogMsgBufferClearMsgs'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | clearMsgs |
2 | savingMsgs |