etsysSyslogServerHostname
ENTERASYS-SYSLOG-CLIENT-MIB ·
.1.3.6.1.4.1.5624.1.2.14.2.8
Object
scalar r/w
Enumeration
The value of this object determines what information is
encoded in the hostname portion of a syslog message.
The default behavior is to encode the IPv4 address if
configured, else use the IPv6 address if configured, else
use the sysName. If set to a non-default value, IPv6 for
example and that type doesn't exist, then the behavior
falls back to the order of precedence (IPv4, IPv6, sysName).
Context
- MIB
- ENTERASYS-SYSLOG-CLIENT-MIB
- OID
.1.3.6.1.4.1.5624.1.2.14.2.8- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- etsysSyslogServer
- Groups
- 2
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 'ENTERASYS-SYSLOG-CLIENT-MIB' -M '/opt/observium/mibs/enterasys:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ENTERASYS-SYSLOG-CLIENT-MIB::etsysSyslogServerHostname.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ENTERASYS-SYSLOG-CLIENT-MIB' -M '/opt/observium/mibs/enterasys:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ENTERASYS-SYSLOG-CLIENT-MIB::etsysSyslogServerHostname'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | default |
2 | ipv4 |
3 | ipv6 |
4 | sysName |