sysLogMode
ZHNSYSTEM ·
.1.3.6.1.4.1.5504.2.5.2.1.9.5
Object
SysLog logging mode of operation: local(1), -- Log messages only to the local, non-persistent log file remote(2), -- Log messages only to a remote syslog server both(3), -- Log messages to both a local log file and a remote syslog server
Context
- MIB
- ZHNSYSTEM
- OID
.1.3.6.1.4.1.5504.2.5.2.1.9.5- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- zhnSystemSyslogObjects
- Groups
- 1
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 'ZHNSYSTEM' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZHNSYSTEM::sysLogMode.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZHNSYSTEM' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZHNSYSTEM::sysLogMode'
Syntax
- Source
- SysLogMode
- Base type
Enumeration
Values & Constraints
Type Values
1 | local |
2 | remote |
3 | both |
Conformance
Member of