
Juergen Schoenwaelder wrote:
Sounds like libsmi is just the right thing you need. I suggest to look at the dump-stools.c or dump-netsnmp.c output drivers of the smidump utility as a starting point. If you know how the C routines should look like, than it is just a matter of some relatively trivial programming to produce the desired output.
libsmi can certainly be used for such a task, but it looks to me like Kishore is being asked to implement an SNMP agent. In that case a more convenient approach (esp if one does not have advanced SNMP knowledge) is to use a toolkit for developing an extensible agent where you have a master agent/subagent decomposition where the subagent associates data structures in its address space with various MIB objects based on a API.
A commercial example of such a toolkit would be the PATROL SNMP toolkit from BMC Software.
Saurabh
____________________________________________________________________________ Saurabh Jang iDEN OMC Software, GTSS, Motorola Inc. Lead Software Engineer Email : Saurabh.Jang@motorola.com 1301 E. Algonquin Road, IL02-3346 Phone : +1-847-576-2630 Schaumburg, IL 60196, USA Fax : +1-847-538-5564 ____________________________________________________________________________ -- !! This message is brought to you via the `libsmi' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to libsmi-request@ibr.cs.tu-bs.de. !! See http://www.ibr.cs.tu-bs.de/projects/libsmi/ for more information.