Re: Problem in receiving traps

2013-01-22 Thread Dave Shield
On 22 January 2013 10:23, Geet Bhatia wrote: > I am trying to build a simple C trap receiver. Is there any reason why you don't wish to use the standard 'snmptrapd' application? > Here I am calling function netsnmp_transport_open_server with application > name and udp:162 as parameters. But thi

Problem in receiving traps

2013-01-22 Thread Geet Bhatia
Hi, I am trying to build a simple C trap receiver. Here I am calling function netsnmp_transport_open_server with application name and udp:162 as parameters. But this function is returning NULL every time. I am not able to find the problem. Please tell me what could be the possible problem. Thank

Problem in receiving traps

2012-11-01 Thread Geet Bhatia
Hi, I need to receive enterprise specific traps from different equipments connected to my application. These traps are present in different mibs. I have written a C code for that. But I am not able get traps. I have also taken help from snmptrapd.c code. But I am still not able get traps. If any b