I'm currently developing a monitoring application for some in-house hardware using net-snmp. I have code that somewhat works, when calling snmp_pdu_free()
my code segfaults. I am creating the pdu struct with snmp_create_pdu()
. I would like an API reference to see if I am in fact writing my code correctly, but I haven't been able to find one. The best thing I've found is the tutorials on the net-snmp website, but they aren't much help for determining if my code is correct while I'm debugging.
The Net-SNMP documentation is not very helpful, unfortunately. Overall, the API is a bugger to work with, but it does work.
Aside from net-snmp.org and the mailing list, this is the only other useful Net-SNMP related reference I've found useful:
http://www.cuddletech.com/articles/snmp/index.html
Also, sign up for the 'net-snmp-coders' mailing list. It is very active and you can get feedback directly from the authors of Net-SNMP.
http://www.net-snmp.org/support/mailinglists.html
Good luck.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With