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 12/12/2007, PoWah Wong <[email protected]>
> wrote:
> > > Two things to try:
> > >    a)   Run the trap receiver using
> > >               snmptrapd -f -Le -Dusm -d
> 
> 
> > # snmptrapd -f -Le -Dusm -d -c
> > /home/powah/snmp/snmptrapd.conf
> 
> > Received 192 bytes from UDP: [172.20.11.245]:32849
>     [snip]
> 
> 
> > 2007-12-12 11:19:34 fc6.mypc.com [UDP:
> > [172.20.11.245]:32849]:
> > DISMAN-EVENT-MIB::sysUpTimeInstance =
> >    Timeticks: (79638) 0:13:16.38
> > SNMPv2-MIB::snmpTrapOID.0 =
> >    OID: NET-SNMP-AGENT-MIB::nsNotifyRestart
> > SNMPv2-MIB::snmpTrapEnterprise.0 =
> >    OID: NET-SNMP-MIB::netSnmpNotificationPrefix
> 
> Now I'm really confused.
> This appears to be logging the trap that was
> received.
> I thought you said that the trap receiver *didn't*
> log the trap?
> 
> According to this dump, things seem to be working
> OK.
> (Despite the somewhat confusing USM error message)
> 
> Dave
> 
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.
Therefore I asked questions about engineID in my
previous email.


      Looking for a X-Mas gift?  Everybody needs a Flickr Pro Account.

 

http://www.flickr.com/gift/


-------------------------------------------------------------------------
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.