Re: restarting snmpd does not generate a trap

PoWah Wong <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
--- Dave Shield <[email protected]> wrote:

> On 14/12/2007, PoWah Wong <[email protected]>
> wrote:
> > The trap receiver *didn't* log the trap until
> > I modify snmptrapd.conf to:
> > createUser -e 0x80001f88806a19937bd3c75547
> > test_MD5_AES MD5 12345678 AES 87654321
> > i.e. the modification is that I change the
> engineID.
> > Now it started to log the trap.
> > However, I am still confused about engineID.
> 
> Bottom line:
>     The username and engineID specified (either
> implicitly or explicitly) by the sending application
> must match the username and engineID specified
> (implicitly or explicitly) by the receiving
> application.
> 
> For most requests (GET, GETNEXT, SET, and INFORM),
> the receiving application will use a default
> engineID,
> and the sending application will first probe to
> discover
> the engine ID to use.   The effect that everything
> just
> works, and you don't have to worry about engineID.
> 
> That's not the case with TRAP requests.   Such
> requests
> are "non-acknowledged", so this engine probe
> mechanism
> isn't used.
> 
> In this situation, the safest approach is to
> *explicitly* specify
> the same engineID on both the sending side
> ("trapsess" in
> snmpd.conf) and the receiving side ("createUser" in
> snmptrapd.conf)
> 
> 
> Dave
>
Why I still get "usm: no match on engineID" message?
Isn't test_MD5_AES has the correct engineID?

# snmptrapd -f -Le -Dusm -d -c
/home/powah/snmp/snmptrapd.conf
...
usm: USM processing begun...
usm: match on user test_MD5_AES
usm: no match on engineID (80 00 1F 88 80 6A 19 93 7B
D3 C7 55 47 )
usm: match on user test_MD5_AES
usm: Verification succeeded.
usm: USM processing completed.
...


      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://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.