All MIBs › SYSLOG-MSG-MIB › syslogMsgHostName
syslogMsgHostName
Module: SYSLOG-MSG-MIB
OID (symbolic): SYSLOG-MSG-MIB::syslogMsgHostName
OID (numeric): 1.3.6.1.2.1.192.1.2.1.6
Node type: OBJECT-TYPE
Type: DisplayString
Access: read-only
Description: The hostname and the (optional) domain name of the SYSLOG message. A zero-length string indicates an unknown hostname. The SYSLOG protocol specification constrains this string to printable US-ASCII code points.
What is syslogMsgHostName?
Reports the hostname (and optional domain name) that originated this syslog message, per RFC 5424, with a zero-length string meaning unknown. Admins use this to identify which device or host actually generated the message, which matters when a syslog collector aggregates messages relayed from many different sources. A message showing syslogMsgHostName of a specific switch's name tells an admin the entry originated from that switch rather than the relaying collector itself.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.2.1.192.1.2.1.6 snmpwalk -v2c -c public <target> SYSLOG-MSG-MIB::syslogMsgHostName
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.2.1.192.1.2.1.6.1 snmpget -v2c -c public <target> SYSLOG-MSG-MIB::syslogMsgHostName.1
Start monitoring vendor-neutral, standards-based MIB, network devices/servers emitting syslog messages (syslog message table/notification status) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the SYSLOG-MSG-MIB::syslogMsgHostName OID value, configure state conditions and alerts, and monitor any vendor-neutral, standards-based MIB, network devices/servers emitting syslog messages (syslog message table/notification status) from a single console.
OID Breakdown
Upper-level ancestors (6 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.2 | mgmt | APERTUS-NPG-MIB |
| 1.3.6.1.2.1 | mib_2 | AXON-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.2.1.192 | syslogMsgMib | SYSLOG-MSG-MIB |
| 1.3.6.1.2.1.192.1 | syslogMsgObjects | SYSLOG-MSG-MIB |
| 1.3.6.1.2.1.192.1.2 | syslogMsgTable | SYSLOG-MSG-MIB |
| 1.3.6.1.2.1.192.1.2.1 | syslogMsgEntry | SYSLOG-MSG-MIB |
| 1.3.6.1.2.1.192.1.2.1.6 | syslogMsgHostName | SYSLOG-MSG-MIB |