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; --- Dave Shield <D.T.Shield@liverpool.ac.uk> wrote: > On 10/12/2007, PoWah Wong <wong_powah@...


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-10-2007
PoWah Wong
 
Posts: n/a
Default Re: restarting snmpd does not generate a trap

--- Dave Shield <D.T.Shield@liverpool.ac.uk> wrote:

> On 10/12/2007, PoWah Wong <wong_powah@yahoo.ca>
> wrote:
>
> > On the snmpd machine (fc6.mypc.com),
> > /usr/local/share/snmp/snmpd.conf is:
> > trapsess -v 3 -u test_MD5_AES -l authPriv -a MD5
> > -A 12345678 -x AES -X 87654321
> > -e 0x800000000102030405060708 172.20.11.58
> >
> > # snmptrap -v 3 -u test_MD5_AES -l authPriv -a MD5
> > -A 12345678 -x AES -X 87654321
> > -e 0x800000000102030405060708 172.20.11.58:162
> > 100 .1.2.3.4.5.6.7.8
> >
> > A trap is received on the snmptrapd machine
> > 2007-12-10 09:28:29 fc6.mypc.com:
> > sysUpTimeInstance = Timeticks: (100)

> 0:00:01.00
> > SNMPv2-MIB::snmpTrapOID.0 = OID:

> iso.2.3.4.5.6.7.8
>
> > However, a trap is not received on 172.20.11.58

> when
> > restarting snmpd on fc6.mypc.com.

>
>
> Hmmm.... curiouser and curiouser....
>
> I'm beginning to wonder whether the agent is
> actually
> using this config file.
>
> Are you using a vendor-supplied agent, or one you
> compiled
> yourself? How did you start the agent originally?
> How are you restarting it?
>
> Dave
>

I compiled the agent myself (net-snmp-5.4.1 on FC6):
mkdir net-snmp-5.4.1/agent/mibgroup/mymibs
cp mymibs/* net-snmp-5.4.1/agent/mibgroup/mymibs
cd net-snmp-5.4.1
../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

It is started by:
service snmpd start

It is restarted by:
service snmpd restart


Connect with friends from any web browser - no download required. Try the new Yahoo! Canada Messenger for the Web BETA at http://ca.messenger.yahoo.com/webmessengerpromo.php

-------------------------------------------------------------------------
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 02:16 AM.


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