agentLogInMemoryBehavior
LOGGING-MIB ·
.1.3.6.1.4.1.7244.2.14.1.1.4
Object
scalar r/w
Enumeration
Configures the behavior of the In Memory Log when it becomes full. A value of wrap(1) will cause the oldest log message to be removed, making room for the new message. A value of stop-on-full(2) will prevent any further logging.
Context
- MIB
- LOGGING-MIB
- OID
.1.3.6.1.4.1.7244.2.14.1.1.4- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- agentLogInMemoryConfigGroup
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 'LOGGING-MIB' -M '/opt/observium/mibs/quanta:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LOGGING-MIB::agentLogInMemoryBehavior.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LOGGING-MIB' -M '/opt/observium/mibs/quanta:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LOGGING-MIB::agentLogInMemoryBehavior'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | wrap |
2 | stop-on-full |