Re: snmptrap problem

This is a discussion on Re: snmptrap problem within the SNMP Users forums, part of the Networking and Network Related category; [Sorry for the delay in responding to this] On Thu, 2005-10-06 at 01:56 -0400, surjit.mahapatra@hp....


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-13-2005
Dave Shield
 
Posts: n/a
Default Re: snmptrap problem

[Sorry for the delay in responding to this]

On Thu, 2005-10-06 at 01:56 -0400, surjit.mahapatra@hp.com 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/...net-snmp-users
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:55 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0