>>>>> On Tue, 21 Dec 2010 20:15:12 -0800 (PST), sujata patra
>>>>> <[email protected]> said:
sp> Thanks Wes. That's right . I have got it now and able to progress . I was
sp> confused whether to make tree structure .
Tree structures are not supported by SMIv2 (the MIB language). If
you're getting the point of needing to do that it's probably time to
pick up a book on good mib design ("Understanding SNMP MIBs" is a good one).
sp> This is basically making the tree to linear array by storing the
sp> indexes of each parent/grand parent node. right ?
If you're familiar with relational databases, MIBs follow similar
concepts. The topic is much longer than I can explain quickly over
mail, so I suggest you either read a good book or read the RFC itself
(RFC2578).
sp> I have added all the columns.
sp> netsnmp_table_helper_add_indexes(table_info,
The only columns you should add are the indexes. The rest of them
shouldn't be there.
--
Wes Hardaker
Please mail all replies to [email protected]
------------------------------------------------------------------------------
Forrester recently released a report on the Return on Investment (ROI) of
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
within 7 months. Over 3 million businesses have gone Google with Google Apps:
an online email calendar, and document program that's accessible from your
browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders