hm2LogSyslogServerTransportType
HM2-LOGGING-MIB ·
.1.3.6.1.4.1.248.11.23.1.5.10.1.8
Object
column r/w
Enumeration
The transport type used to deliver the log messages to the syslog server. When set to udp(1) the syslog messages are sent over UDP on the configured port. When set to tls(2) the syslog messages are sent over TLS on configured TCP port (hm2LogSyslogServerUdpPort).
Context
- MIB
- HM2-LOGGING-MIB
- OID
.1.3.6.1.4.1.248.11.23.1.5.10.1.8- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hm2LogSyslogServerEntry
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 'HM2-LOGGING-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-LOGGING-MIB::hm2LogSyslogServerTransportType'
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::hm2LogSyslogServerTransportType.<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::hm2LogSyslogServerTransportType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | udp |
2 | tls |