staticHostsIpAddresses
MX-HOC-MIB ·
.0.700.1.650.100.1.300
Object
column r/w
OctetString
IP Addresses
List of static IP addresses associated with the FQDN
specified in the StaticHosts.Name parameter. This list
contains numerical IPv4 or IPv6 addresses. IP addresses MUST
be separated by a comma (,).
Context
- MIB
- MX-HOC-MIB
- OID
.0.700.1.650.100.1.300- 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::staticHostsIpAddresses'
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::staticHostsIpAddresses.<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::staticHostsIpAddresses'
Syntax
OctetString
Values & Constraints
No enumerated values or constraints recorded.