Send TRAP

2011-02-14 Thread Luis QuaggaSnmp
Hello. I have a easy question but it´s important. I have a program with a specific function, I need my function sends a TRAP, and I´m using the code of apps/snmptrap.c, and I added the snmp libraries. The function can send a TRAP very good because I tried with a simple TRAP, with enterprise=0, gen

Re: CFV: drop stderr warning (was: [PATCH] Fix stderrlog in agent using Perl subagents)

2011-02-14 Thread Doug Manley
> Thoughts? Agreed; this message just gets in the way in our application. -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix

Re: snmp trap reciever sample program

2011-02-14 Thread Manjit
Hi Vamsi, To have a good idea about the trap receiver you can see the file snmptrapd.c in netsnmp/apps directory. This is the file used for snmptrapd. You can get an idea for writing such application. Regards, Manjit Vamsi Krishnam Raju D wrote: > HI Iam the beginner of SNMP and started codi

snmp trap reciever sample program

2011-02-14 Thread Vamsi Krishnam Raju D
HI Iam the beginner of SNMP and started coding using net-snmp C API. I have gone through the tutorials and examples provided by net-snmp and I didnt find any tutorials or sample programs for RECEIVING TRAPS USING C-API. Could u guys send me any sample programs(code) Please. Regards.. Vam