logSource
AT-LOG-MIB ·
.1.3.6.1.4.1.207.8.4.4.4.601.2.1
Object
scalar r/w
Enumeration
The source to retrieve the log entries from. Valid values are:
1 - Buffered log
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:/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:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'AT-LOG-MIB::logSource'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | bufferedLog |
2 | permanentLog |