staticHostsName
MX-HOC-MIB ·
.0.700.1.650.100.1.200
Object
column r/w
OctetString
Name
Name (FQDN) of the static host. The Hoc service does not
perform DNS queries to resolve this FQDN. It returns the
static ip addresses defined in the StaticHosts.IpAddress
parameter. This name must be unique across the table.
Context
- MIB
- MX-HOC-MIB
- OID
.0.700.1.650.100.1.200- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- staticHostsEntry
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 'MX-HOC-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MX-HOC-MIB::staticHostsName'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MX-HOC-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MX-HOC-MIB::staticHostsName.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MX-HOC-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MX-HOC-MIB::staticHostsName'
Syntax
OctetString
Values & Constraints
No enumerated values or constraints recorded.