Re: Version 5.4.2.1 snmp v3 traps with snmptrapd

Mark Ellison <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Ellison Software Consulting, Inc.
Message-ID <[email protected]>
Hi Max,

On 03/24/2009 02:54 PM, Max Malzkuhn wrote:
> Hello All,
>
> I am trying to receive traps on a FC10 box that is running net-snmp 5.4.2.1
>
> When I run snmptrapd -f -Le -D and cause my remote system to send a trap, I
> get:
>
> snmp_parse: Parsed SNMPv3 message (secName:edgewater, secLevel:authNoPriv):
> USM unknown security name (no such user exists)
>
>
> My /etc/snmp/snmptrapd.conf has:
>
> createUser -e 0x0102030405 edgewater MD5 edgewater DES edgewater
>   
The above engine ID the one for the system you are sending the trap from?
> And my /var/net-snmp/snmptrapd.conf has:
>
> usmUser 1 3 0x0102030405 0x65646765776174657200 0x65646765776174657200 NULL
> .1.3.6.1.6.3.10.1.1.2 0xc58c7e4655f97187d370e59e2705660a
> .1.3.6.1.6.3.10.1.2.2 0xc58c7e4655f97187d370e59e2705660a 0x00
> usmUser 1 3 0x80001f8880a6aba16d9a0ec949 0x65646765776174657200
> 0x65646765776174657200 NULL .1.3.6.1.6.3.10.1.1.2
> 0x82d13214223d43e8ab1edae282ff0ba9 .1.3.6.1.6.3.10.1.2.1 0x 0x00
> engineBoots 4
> oldEngineID 0x80001f8880c6bde9046b1fc949
>
> The source system that is sending the trap has:
>
> trapsess -v 3 -u edgewater -l authnopriv -n none -a MD5 -A edgewater
> 10.10.50.158:162
>
>
>   
> Anyone have any idea why it's not working?  I can receive traps from this
> same source system on another box that is 
> Running net-snmp version: 5.2.1.2
>
>   
The 'edgewater' user for the other system is likely configured correctly 
- I think the second usmUser line in your snmptrapd.conf file above is 
what allows your snmptrapd to successfully receive the trap from your 
other system.  Notice the SnmpEngineID - 0x80001f8880a6aba16d9a0ec949

Now just create the right SnmpEngineID + user line for the Fedora 10 
system...


> Thanks for any help.
>
> Max
>   
Hope this helps!

Mark
http://EllisonSoftware.com/Services/

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
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.