hm2LogSyslogServerLogType

HM2-LOGGING-MIB · .1.3.6.1.4.1.248.11.23.1.5.10.1.6

Object

column r/w Enumeration
Defines the type of log messages to be sent to the syslog server.
systemlog  (1): Define the system event log entries as stored also in
the system event log.
audittrail (2): Define the audit trail log entries.

Context

MIB
HM2-LOGGING-MIB
OID
.1.3.6.1.4.1.248.11.23.1.5.10.1.6
Type
column
Access
readwrite
Status
current
Parent
hm2LogSyslogServerEntry

Walk 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 'HM2-LOGGING-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-LOGGING-MIB::hm2LogSyslogServerLogType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HM2-LOGGING-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-LOGGING-MIB::hm2LogSyslogServerLogType.<hm2LogSyslogServerIndex>.<agentDot1xAuthHistoryResultIfaceIndex>.<agentDot1xAuthHistoryResultIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HM2-LOGGING-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HM2-LOGGING-MIB::hm2LogSyslogServerLogType'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1systemlog
2audittrail