You can't.  SNMP doesn't support such structures.

What you *can* do is define two parallel tables, where the second
table is indexed
by two (or more) objects - which *include* the same object used to
index the first.

This is probably easier to illustrate, than to explain.

Have a look at the HOST-RESOURCES-MIB - and compare the definitions
of hrDiskStorageTable and hrPartitionTable.   The partition table is
*effectively*
a table-within-a-table of the disk table.

As far as SNMP is concerned, these are basically independent tables.
It's up to the agent (when populating the tables) and the client side (when
displaying the results) to merge the two tables.

Dave


---------------------------------------------------------------------------

돼도 안는 구조를 구현하려고 온갖 삽질의 삽질을 다 했던 24시간.
시험기간이라 공부할 것도 많은데...!!! 씨~앙~


Hyper 백구~!

Posted by 백구씨쥔장
,