logSource
AT-LOG-MIB ·
allied-old variant
·
.1.3.6.1.4.1.207.8.4.4.4.601.2.1
Object
scalar r/w
Integer32
The source to retrieve the log entries from. The valid values are:
1. Buffered log (default)
2. Permanent log.
This source is used when retrieving the logTable objects, and also specifies the log to
be cleared when the clearLog object is set.
Context
- MIB
- AT-LOG-MIB
- OID
.1.3.6.1.4.1.207.8.4.4.4.601.2.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- logOptions
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 'AT-LOG-MIB' -M '/opt/observium/mibs/allied-old:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'AT-LOG-MIB::logSource.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'AT-LOG-MIB' -M '/opt/observium/mibs/allied-old:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'AT-LOG-MIB::logSource'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-2