hostTopNHostIndex
RFC1271-MIB ·
.1.3.6.1.2.1.16.5.1.1.2
Object
column mandatory
r/w
Integer32
The host table for which a top N report will be
prepared on behalf of this entry. The host table
identified by a particular value of this index is
associated with the same host table as identified
by the same value of hostIndex.
This object may not be modified if the associated
hostTopNStatus object is equal to valid(1).
Context
- MIB
- RFC1271-MIB
- OID
.1.3.6.1.2.1.16.5.1.1.2- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- hostTopNControlEntry
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 'RFC1271-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RFC1271-MIB::hostTopNHostIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RFC1271-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RFC1271-MIB::hostTopNHostIndex.<hostTopNControlIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RFC1271-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RFC1271-MIB::hostTopNHostIndex'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-65535