Brian,
Check out the tutorials available on the net-snmp website. The API is very well documented. Additionally, a perl script is available (mib2c) that can generate barebones code based on your MIB.
I'm currently in the process of moving lots of bash scripting into a native handler for my company's product. Some of the data I need is returned from various shell script, and in those instances I've just used popen() to open a pipe to those commands and get the data.
Regards, Mack
[EMAIL PROTECTED] wrote:
Hello all.
I am new to the list, and new to net-snmp as well.
I have a quick question that I hope I can get some help on.
Currently, I am working on porting net-snmp to our access point.
We already have SNMP working. BUT, we want to replace a costly agent with net-snmp. Also, there is a complete backend which deals with our proprietary MIB, which won't/can't change.
I am wondering what is the best way to go about interfacing to this lower level, which implements the interface to our MIB.
Right now, I have access to a pipe, that I can shoot commands down to the low level code. This keeps me from having to link the net-snmp stuff into the main application. What I would like to do is write an interface which uses this pipe.
Any ideas?
Thanks,
Brian
------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
