agCurCfgSyslogSessLogMode
ALTEON-CHEETAH-SWITCH-MIB ·
.1.3.6.1.4.1.1872.2.5.1.1.5.95
Object
scalar Enumeration
This object is used to select syslog session mode. syslog(1) - send the session log details to syslog server only. disk(2) - write the session log details to disk(file). both(3) - session log details send to syslog server and write to disk(file)
Context
- MIB
- ALTEON-CHEETAH-SWITCH-MIB
- OID
.1.3.6.1.4.1.1872.2.5.1.1.5.95- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- agSyslog
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 'ALTEON-CHEETAH-SWITCH-MIB' -M '/opt/observium/mibs/radware:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ALTEON-CHEETAH-SWITCH-MIB::agCurCfgSyslogSessLogMode.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ALTEON-CHEETAH-SWITCH-MIB' -M '/opt/observium/mibs/radware:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ALTEON-CHEETAH-SWITCH-MIB::agCurCfgSyslogSessLogMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | syslog |
2 | disk |
3 | both |