On Tue, 2005-04-26 at 10:37, Sim Wind wrote:
> i could not find any nested tables in net-snmp, so i want to know
> whether i can do like it, or some other good idea?

Strictly speaking - no, you can't.
MIB tables can only contain leaf column objects.
They can't include other tables.

However, you *can* define a separate table that
uses the same index objects (plus additional ones).
The effect of this is *equivalent* to having a
table-within-a-table - it's just that the two
sets of data are side-by-side, and would need
to be merged by the client manager.

See the 'HOST-RESOURCES-MIB::hrPartitionTable'
for an example of this.

Dave



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to