I want to use a hierarchical table structure within a MIB for an SNMPv2-Trap similar to the one described within this answer https://stackoverflow.com/a/2510340/346899
However I do not really get the concept of the INDEX for entries in a MIB table. For instance in following excerpt of the quoted answer a childIndex
for entries in the child table is used:
childEntry OBJECT-TYPE
SYNTAX ChildEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "Entry in Child table"
INDEX { parentIndex,
childIndex }
::= { childTable 1 }
However my Trap receiver (by iReasoning) also works if I do not specify a special childIndex
within the used Trap-MIB it uses. What is the purpose of the index then?