Hi,

I am trying to capture USM error codes (in case of engineID, auth password or priv pwd change) when sending a SNMP v3 inform (snmp_synch_response). The error code is present in the s_snmp_errno field of the netsnmp_session structure.

I am always getting the same error code -24 ( timeout) in all the scenario. When seeing the netsnmp source code I came to know the snmp_timeout() api overrides any error code and resets it to -24. This api is called to determine if timeout has reached.  I have changed the netsnmp source code to avoid this problem. Is there anyway I can get the USM error codes without changing the net-snmp source codes.

 regards,

Naresh

 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to