sysLogMode

ZHNSYSTEM · .1.3.6.1.4.1.5504.2.5.2.1.9.5

Object

scalar r/w SysLogMode
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

Scalars 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
1local
2remote
3both

Conformance