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.
I’m currently developing a monitoring application for some in-house hardware using net-snmp. I have
Share
There are MAN pages for net-snmp, try
man snmp-free-pdu. If that doesn’t help, the source code for 5.3.3 is available to download here:http://sourceforge.net/projects/net-snmp/files/net-snmp/5.3.3%20source%20code/net-snmp-5.3.3.zip/download