I'm having trouble receiving traps from snmpd. I've been enabling different 
debug flags to determine the problem. I think the problem has to do with the 
fact that snmpd is sending the wrong engineID to my trap receiver. I'm not sure 
what I've done wrong with my configuration to cause this, so I was wandering if 
anyone could spot the problem.

my snmpd.conf file looks like:
  oldEngineID 0x800004500109274B15

  createUser tmp MD5 passw0rd
  rwuser     tmp auth

  sysDescr My Description

  targetParams tmp 3 3 tmp 2 3 1
  targetAddr tmp .1.3.6.1.6.1.1 0x09274b5300A2 60 0 group1 tmp 3 1
  snmpNotifyTable v3users group1 1 5 1


I then have my snmpdtrap.conf file defined with:
  disableAuthorization yes
  createUser -e 0x800004500109274B15  tmp MD5 passw0rd


When a start up snmpd I get the output (from sending a coldstart trap):
  trap: sending trap type=167, version=3
  usm: USM processing has begun (offset 101)
  usm: getting user tmp
  usm: match on user tmp
  usm: no match on engineID (80 00 1F 88 80 FE 96 A6 4F A4 48 32 47 )
  usm: match on user tmp
  usm: Signing failed.
  snmpd: send_trap: USM authentication failure (incorrect password or key)

I don't understand why I'm getting the message "usm: no match on engineID (80 
00 1F 88 80 FE 96 A6 4F A4 48 32 47 )". It seems like snmpd is using the 
engineID from snmptrapd rather than its own engineID for the user lookup. I've 
specifically created the user in snmptrapd with the agent's engineID.

If I run snmptrap from the command line, the trap receiver gets the trap. Its 
just a problem with snmpd and the notifyTable entries.

Any ideas? Is this not the proper way to configure this, or have I found a bug? 
I tried to place the local engine id information onto the session from 
get_target_sessions in target.c, but that didn't seem to fix the issue.

Thanks,
Andy



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.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

Reply via email to