Re: Facing problems while sending traps using snmp api's

2010-11-12 Thread Dave Shield
On 12 November 2010 11:16, Sampige, Sahana Prabhakar (STSD) wrote: >    session.securityEngineIDLen = strlen("0x80001f8880654ceb30a484dc4c"); >    session.securityEngineID = (u_char*)malloc(session.securityEngineIDLen); >     > memcpy(session.securityEngineID,"0x80001f8880654ceb30a484dc4c",session

Facing problems while sending traps using snmp api's

2010-11-12 Thread Sampige, Sahana Prabhakar (STSD)
Hi, I am using net-snmp version 5.5. I am trying to send traps using the net-snmp library api's, but I am unsuccessful. But sending the trap using snmptrap command is successful with the same credentials. Below are the steps I have followed. 1. service snmptrapd stop 2. service snmpd stop 3. ad