hwSyslogFormatVersion

HUAWEI-SNMP-NOTIFICATION-MIB · .1.3.6.1.4.1.2011.6.30.5.5

Object

scalar r/w Enumeration
Syslog format version.
Options:
1. rfc3164(1)    -indicates that the syslog version is rfc3164.
2. rfc5424(2)    -indicates that the syslog version is rfc5424.

Context

MIB
HUAWEI-SNMP-NOTIFICATION-MIB
OID
.1.3.6.1.4.1.2011.6.30.5.5
Type
scalar
Access
readwrite
Status
current
Parent
hwSyslogOutput

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-SNMP-NOTIFICATION-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-SNMP-NOTIFICATION-MIB::hwSyslogFormatVersion.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-SNMP-NOTIFICATION-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-SNMP-NOTIFICATION-MIB::hwSyslogFormatVersion'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1rfc3164
2rfc5424