Re: problem with notification sending from inside agent

2008-04-11 Thread Dave Shield
On 10/04/2008, Mike Ayers [EMAIL PROTECTED] wrote: What traps are you expecting to receive that you are not? If Suyash has compiled in the 'examples/notification' module, then presumably the netSnmpExampleHeartbeatNotification trap. Since that's precisely what this module does. I

Re: problem with notification sending from inside agent

2008-04-11 Thread Suyash Pratap Singh
well, so snmptrapd is configured to accept all traps and also igonore authentication failures. The community configured is 'public'. And when i start snmpd, a coldstart trap is sent out which is correctly received. compiling with -Dexamples_notification gives no particular indication in the log

Re: problem with notification sending from inside agent

2008-04-11 Thread Dave Shield
On 11/04/2008, Suyash Pratap Singh [EMAIL PROTECTED] wrote: compiling with -Dexamples_notification gives no particular indication in the log file. No - I didn't say *compile* the agent with this flag. You should *run* the agent with this option - it's a run-time debug directive. However using

RE: problem with notification sending from inside agent

2008-04-10 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Suyash Pratap Singh Sent: Wednesday, April 09, 2008 1:05 AM I compiled snmpd version 5.4.1 with –with-mid-modules=examples/notification option. Now this compiles fine and snmptrapd receives the coldstart trap from snmpd