[Sorry for the delay in responding to this]

On Thu, 2005-10-06 at 01:56 -0400, [EMAIL PROTECTED] wrote: 
> Hi I have used net-snmp 5.2.1.2 for my sub agent development.
> I have used /examples/notification for trap generation.
> 
> I am able to generate trap to my destination .
> But I unable to stop this trap.

Yes - the example notification module generates a trap
every 30s.  That's what it's designed to do.


> I have tried to stop the trap by doing this method
> ./configure --with-out-mib-modules="/examples/notification"
> make
> make install
> /usr/local/sbin/snmpd

That should have worked, yes.


> as long as snmpd is running the trap is contineously generated.
> when you stop snmpd only then trap is stopped.

That sounds as if you're still picking up the previous version
of the agent (or at least the previous 'libnetsnmpmibs' library).


> Is there any way to solve this problem

First thing to check - does the new library include the
notification module or not.   (do a "make clean" before
building - are the notificiation .o and .lo files created?
Check the output of the build  - does that mention this
module)?

Then check whether installing the library works.
Check the timestamp on libnetsnmp.* before and after
installing - does it change?  Do 'ldd' on the agent?
Is it picking up the library that you expect?

Dave


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to