hostIfHostName
PACKETFRONT-DRG-MIB ·
.1.3.6.1.4.1.9303.4.3.1.4.3.1.3
Object
column r/w
OctetString
The name of the host interface. If the DHCP client is enabled this object reports the host name from the DHCP negotiation.
Context
- MIB
- PACKETFRONT-DRG-MIB
- OID
.1.3.6.1.4.1.9303.4.3.1.4.3.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hostIfEntry
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 'PACKETFRONT-DRG-MIB' -M '/opt/observium/mibs/packetfront:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PACKETFRONT-DRG-MIB::hostIfHostName'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'PACKETFRONT-DRG-MIB' -M '/opt/observium/mibs/packetfront:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PACKETFRONT-DRG-MIB::hostIfHostName.<hostIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PACKETFRONT-DRG-MIB' -M '/opt/observium/mibs/packetfront:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PACKETFRONT-DRG-MIB::hostIfHostName'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-32