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 07/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 07/12/2007, PoWah Wong <wong_powah@yahoo.ca>
> wrote:
> > I modify /usr/local/share/snmp/snmpd.conf
> > to have:

>
> > trapsess -v 3 -u test_MD5_AES -l authPriv -a MD5

> -A
> > 12345678 -x AES -X 87654321 -e
> > 0x800000000102030405060708 172.20.11.58:162
> >
> > However, restarting snmpd does not generate a

> trap.
> >
> > Then I modify /var/net-snmp/snmptrapd.conf
> > to have:
> > createUser 0x80001f88806a19937bd3c75547

> test_MD5_AES
> > MD5 12345678 AES 87654321

>
>
> That's not the same engine ID that you specified for
> the
> "trapsess" line. What happens if you shut down the
> snmptrapd process, change the snmptrapd.conf file to
> read
>
> > createUser 0x800000000102030405060708 test_MD5_AES
> > MD5 12345678 AES 87654321

>
> restart snmptrapd, and then restart snmpd.
>
> Do you receive the trap or not?
>
> If not, then try running
>
> snmptrap -v 3 -u test_MD5_AES -l authPriv -a MD5
> -A
> 12345678 -x AES -X 87654321 -e
> 0x800000000102030405060708 172.20.11.58:162
> .1.2.3.4.5.6.7.8
>
> (from the same system that snmpd is running on).
> Does snmptrapd receive that trap or not?
>
> Dave
>


On the snmpd machine (fc6.mypc.com),
/usr/local/share/snmp/snmpd.conf is:
createUser -e 0x800000000102030405060708 test_MD5_AES
MD5 12345678 AES 87654321
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
(172.20.11.58):
2007-12-10 09:28:29 fc6.mypc.com [UDP:
[172.20.11.245]:32802]:
DISMAN-EVENT-MIB::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.


Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail. Click on Options in Mail and switch to New Mail today or register for free at http://mail.yahoo.ca

-------------------------------------------------------------------------
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
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 01:03 PM.


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