bnLogMsgClearMessageBuffers
BN-LOG-MESSAGE-MIB ·
.1.3.6.1.4.1.45.1.6.16.1.1.14
Object
scalar r/w
Bits
Setting this objects causes messages currently saved in the log message buffer facilities to be deleted. All messages of types matching the specified bits will be deleted. For example, a Set on this object containing bits volSerious(2) and nonVolCritical(4) will delete all 'serious' messages from volatile storage, and all 'critical' messages from non-volatile storage. The none(0) value doesn't have any effect at read and write operations. It have been introduced to correct the BITS syntax declaration.
Context
- MIB
- BN-LOG-MESSAGE-MIB
- OID
.1.3.6.1.4.1.45.1.6.16.1.1.14- Type
- scalar
- Access
- readwrite
- Status
- current
- 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::bnLogMsgClearMessageBuffers.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::bnLogMsgClearMessageBuffers'
Syntax
Bits
Values & Constraints
Enumerated Values
0 | none |
1 | volCritical |
2 | volSerious |
3 | volInformational |
4 | nonVolCritical |
5 | nonVolSerious |
6 | nonVolInformational |