Re: restarting snmpd does not generate a trap

This is a discussion on Re: restarting snmpd does not generate a trap within the SNMP Users forums, part of the Networking and Network Related category; On 10/12/2007, PoWah Wong <wong_powah@yahoo.ca> wrote: > I compiled the agent myself.... > ./configure --...


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-11-2007
Dave Shield
 
Posts: n/a
Default Re: restarting snmpd does not generate a trap

On 10/12/2007, PoWah Wong <wong_powah@yahoo.ca> wrote:
> I compiled the agent myself....
> ./configure --with-libs=/usr/local/lib/libsensors.a
> --with-defaults --with-openssl=/
> --with-mib-modules="mymibs/myhw ucd-snmp/lmSensors"
> --with-out-mib-modules="agent_mibs utilities"
> make



> The snmp daemon rpm is installed as follows:
> chkconfig --add snmpd
> chkconfig --level 0123456 snmpd off


Err.... but if you compiled the agent yourself
(configure; make), then this won't actually
create an RPM. It simply compiles the binaries,
ready for installing manually with "make install".

I'm still not convinced that you are necessarily
running the agent that you think you are.


> It is started by:
> service snmpd start
>
> It is restarted by:
> service snmpd restart


Can you please try running (and restarting) the agent
manually:

service snmpd stop
/usr/local/sbin/snmpd -f -Le

Does that send a trap to the trap receiver?

Restart using:
ps -ef | grep snmpd
kill -HUP {pid}

Does that send a trap to the trap receiver?

Dave

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
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 Search this Thread
Search this Thread:

Advanced Search
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

BB 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 05:00 AM.


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