[ Sorry for the delay in responding to this ] > My understanding: > A "simple table" has only one index value, > and then can have only one level one depth.
That depends on what exactly you mean by a "simple table". There's a section of the AGENT.txt file that talks about "simple tables" (in conjunction with a particular utility routine from the UCD suite). Such tables do indeed have a single (integer) index value. But that's very much a special case - general SNMP tables can easily have more than one index value. There are several examples of such tables in the standard MIBs (e.g. udpTable, tcpConnTable to name but two). > That's why when I create a table in another table, it doesn't work!! Correct. A given MIB table will define a particular style of indexing, and *all* the column objects within that table will use that same indexing. It's not possible to mix leaf objects and additional tables under the same table definition. > 3) If yes, what's the "standard way to do it? The standard approach is to define a second table, separate from the first but using the same indexing objects (plus one or more additional ones). Strictly speaking this will be a "parallel" table to the first, so a simple snmpwalk would list one and then the other. But the logical structure is such that the second table is effectively a "table-within-a-table", and could easily be displayed as such. But it would be up to the client-side management software to take care of merging the two sets of data and representing them appropriately. See the hrPartitionTable (in HOST-RESOURCES-MIB) for an example. Dave ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ 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
