Re: Regarding net-snmp trap

2012-12-12 Thread Niels Baggesen
On Wed, Dec 12, 2012 at 06:28:45AM -0500, SureshCilutions S wrote: > I added the below three lines in C:\usr\etc\snmp\snmpd.conf, now I am > receiving traps. > trapsink localhost > trap2sink localhost > informsink localhost You only need one of them, depending on what format you wa

Re: Regarding net-snmp trap

2012-12-12 Thread SureshCilutions S
Niels, Great. I added the below three lines in C:\usr\etc\snmp\snmpd.conf, now I am receiving traps. trapsink localhost trap2sink localhost informsink localhost Thanks for your quick help. -ssmadurai On Wed, Dec 12, 2012 at 12:49 AM, Niels Baggesen wrote: > On Tue, Dec 11, 2012

Re: Regarding net-snmp trap

2012-12-11 Thread Niels Baggesen
On Tue, Dec 11, 2012 at 07:33:07PM -0500, SureshCilutions S wrote: > But somehow the iReasoning is not receiving the > traps[Trap port 162]. Do I need to add anything > in C:\usr\etc\snmp\snmpd.conf? Could anyone help me about how to receive > the trap? You do have a trapsink directive in there, r

Regarding net-snmp trap

2012-12-11 Thread SureshCilutions S
Hi, I am new to net-snmp. I have net-snmp 5.7.2 and iReasoning MIB browser on Windows 7. I am running the snmpd agent(compiled on vc++) which has send_easy_trap(0,0) /*cold start trap*/. Also I have extended the MIB module by adding init_notification()[notification.c] for testing which has send_v2