
Hi!
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.
Saurabh> libsmi can certainly be used for such a task, but it looks to me Saurabh> like Kishore is being asked to implement an SNMP agent. In that case Saurabh> a more convenient approach (esp if one does not have advanced SNMP Saurabh> knowledge) is to use a toolkit for developing an extensible agent Saurabh> where you have a master agent/subagent decomposition where the Saurabh> subagent associates data structures in its address space with various Saurabh> MIB objects based on a API.
Saurabh> A commercial example of such a toolkit would be the PATROL SNMP Saurabh> toolkit from BMC Software.
A master-agent/sub-agent decomposition can also be achieved with the NET-SNMP toolkit based on the Standard AgentX technology, without any modification to the agent code.
-frank -- !! 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.