W> I want to get the value or the portnumbers of my switch. I used this W> OID 1.3.6.1.2.1.2.2.1.1 to print the values. Portnumber 10011 has the W> value of 10011. How can I get this value with which function? I found W> snprint_variable function, but i don`t know how it works. When I get W> the value I want to save it to a pointer. Is it possible?
Everything you want to do is possible, but you probably need to get started by looking through code and the tutorials (http://www.net-snmp.org/tutorials/) in order to familiarize yourself with the code a bit. The questions you're asking above are fairly basic and indicate to me you likely haven't read the tutorials yet, which show the basics of how to do what you want. -- Wes Hardaker Please mail all replies to [email protected] ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
