> With regards to it, i have few queries, > 1. What are complex tables?? How are they different from simple tables.
Indexing. A "simple table" (as described in AGENT.txt) is a specific type of table, indexed by a single integer value (plus a couple of other restrictions). A "complex table" is any table that doesn't match the necessary characteristics for being a simple table. > 2. How can I know from the MIB, dat a particular table is simple or > complex?? Look at the MIB object(s) used to index it. If there are more than one such object, or it's a string (or OID) valued object, then this isn't a simple table. Or if you look at how the table is represented internally - if it can be stored as a standard array (indexed by the MIB index value), then it's probably a simple table. > 3. What additional care I need to take care in my code for the complex > table. The "simple/complex" table distinction is really more relevant to the earlier v4 UCD API. The v5 Net-SNMP agent provides a number of new "helpers" that can be used to take care of most of the donkey work for implementing tables - almost regardless of how complex the indexing is. Unless you're working on existing code, we'd strongly recommend that you look at using the v5 helper model, rather than the v4 UCD approach. 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-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
