SNMP Manager Programmer's Guide
Constructing and Interpreting Packets
SNMP Manager Programmer’s Guide–134249
5-6
Instance Identifiers
The MIB description for a table identifies the table’s index object, which is one or more 
of the objects in each table entry.  For example, the zhrmDevUnTable in the Host 
Resources Subagent’s MIB is defined as a sequence of entries consisting of six MIB 
objects, one of which (zhrmDevUnIndex) is the index object:
zhrmDevUnTable OBJECT-TYPE
 SYNTAX SEQUENCE OF ZhrmDevUnEntry
 ...
zhrmDevUnEntry OBJECT-TYPE
 SYNTAX ZhrmDevUnEntry
 ...
 INDEX { zhrmDevUnIndex }
 ::= { zhrmDevUnTable 1 }
ZhrmDevUnEntry ::= SEQUENCE {
 zhrmDevUnIndex INTEGER,
 zhrmDevUnType OBJECT IDENTIFIER,
 zhrmDevUnDescr DisplayString,
 zhrmDevUnID OBJECT IDENTIFIER,
 zhrmDevUnStatus INTEGER,
 zhrmDevUnErrors Counter
 }
To identify a particular instance of zhrmDevUnType, you would specify the OID of 
zhrmDevUnType followed by the index value of the entry you are interested in. The 
OID of zhrmDevUnType is 1.3.6.1.4.1.169.3.180.3.6.1.2:
iso (1)
org (3)
dod (6)
internet (1)
private (4)
enterprises (1)
tandem (169)
nonstopsystems (3)
zhrm (180)
zhrmDevUnavail (3)
zhrmDevUnCurrTime (1)
...
zhrmDevUnTable (6)
zhrmDevUnEntry (1)
zhrmDevUnIndex (1) 
zhrmDevUnType (2)
...
zhrmDevUnErrors (6)
The value of zhrmDevUnIndex is an integer having the same value as one of the 
hrDeviceIndex values (hrDeviceIndex is an object in the subagent’s hrDevice group). If 
you want to retrieve the value of zhrmDevUnType for a zhrmDevUnTable entry with an 
zhrmDevUnIndex value of 10002, you would identify the object’s instance like this:
1.3.6.1.4.1.169.3.180.3.36.1.2.10002










