scAdminStatus
CTRON-SYSLOG ·
.1.3.6.1.4.1.52.4497.9.2.2
Object
scalar mandatory
r/w
Enumeration
This object controls the status of the message logging system and the log itself. Setting this object to disableLogging(2) will prevent any clients from appending messages to the log. EnableLogging(3) starts/resumes logging. Reset(5) initializes the log.
Context
- MIB
- CTRON-SYSLOG
- OID
.1.3.6.1.4.1.52.4497.9.2.2- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- serverConfig
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 'CTRON-SYSLOG' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CTRON-SYSLOG::scAdminStatus.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CTRON-SYSLOG' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CTRON-SYSLOG::scAdminStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
2 | disableLogging |
3 | enableLogging |
5 | reset |