syslogControlAccountingType
SYSLOG-R-MIB ·
.1.3.6.1.4.1.164.20.14.1.2.1.13
Object
column r/w
Bits
The accounting type can be configured as: Bit 0 = shell (login and logout events) Bit 1 = system (system events and alarms) Bit 2 = commands (CLI commands) By default all bits are active (bit # = 0).
Context
- MIB
- SYSLOG-R-MIB
- OID
.1.3.6.1.4.1.164.20.14.1.2.1.13- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- syslogControlEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'SYSLOG-R-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SYSLOG-R-MIB::syslogControlAccountingType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SYSLOG-R-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SYSLOG-R-MIB::syslogControlAccountingType.<syslogControlIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SYSLOG-R-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SYSLOG-R-MIB::syslogControlAccountingType'
Syntax
Bits
Values & Constraints
Enumerated Values
0 | shell |
1 | system |
2 | commands |