Re: Can't send SNMPv3 Traps from C Program

2007-08-07 Thread das01
David, Thank you for confirming that I have been using the correct library function calls, your help is very much appreciated. Now that I know I am using the correct functions I have managed to work out how to turn on some of the debugging and located an area of code that is causing problems. An

Re: Can't send SNMPv3 Traps from C Program

2007-08-07 Thread das01
My program is an agent that currently works with SNMPv1 and 2 and I am updating it to support SNMPv3. The code sample I posted was very much simplified. I wrote my own create_v3_trap_session function because the standard create_trap_session does not support SNMPv3. However I am not sure that the

Can't send SNMPv3 Traps from C Program

2007-08-07 Thread das01
Please help, I am trying to send a SNMPv3 trap from within a C program. I am using the add_trap_session function to add my trap sink sessions and then send_v2trap to send the trap. The program works with the authentication turned off (securityLevel = SNMP_SEC_LEVEL_NOAUTH) but I can not get it t

Re: Sending SNMPV3 Trap from C code

2007-07-31 Thread das01
I am also trying to send SNMPV3 traps from C code, is there a way to so this without adding an SNMPv3 destination to the snmpd.conf file. I am currently using create_trap_session(...) to create my sessions but this doesnt support SNMPv3 users/passwords etc... I am using send_v2trap to send the tr