From: David S. A. <da...@av...> - 2001-05-18 03:18:42
|
I am having trouble getting snmptrapd to log v3 traps. In /var/ucd-snmp/snmptrapd.conf I added the line: createUser myuser MD5 my_password DES snmptrapd is started as follows: /usr/sbin/snmptrapd -f -P -Dusm -d usmUser: created a new user myuser at 80 00 07 E5 80 4F 16 49 7C 3A 7D 04 3B 2001-05-17 20:10:03 UCD-snmp version 4.2.1 Started. Running a test with snmptrap: snmptrap -v 3 -u myuser -l authNoPriv -a MD5 -A my_password localhost produces the following output from snmptrapd Received 152 bytes from 127.0.0.1:1044 0000: 30 81 95 02 01 03 30 10 02 04 50 8E 43 82 02 02 0.....0...P.C... 0016: 05 C0 04 01 01 02 01 03 04 32 30 30 04 0D 80 00 .........200.... 0032: 07 E5 80 BB 9B BB 7F 3A 87 04 3B 02 01 01 02 04 .......:..;..... 0048: 02 50 5A 58 04 06 6D 79 75 73 65 72 04 0C 0D DB .PZX..myuser.... 0064: 4C E7 B4 4A EB BB 02 92 F7 99 04 00 30 4A 04 0D L..J........0J.. 0080: 80 00 07 E5 80 BB 9B BB 7F 3A 87 04 3B 04 00 A7 .........:..;... 0096: 37 02 04 55 32 01 53 02 01 00 02 01 00 30 29 30 7..U2.S......0)0 0112: 0E 06 08 2B 06 01 02 01 01 03 00 43 02 02 9A 30 ...+.......C...0 0128: 17 06 0A 2B 06 01 06 03 01 01 04 01 00 06 09 2B ...+...........+ 0144: 06 01 04 01 B5 69 00 01 .....i.. usm: USM processing begun... usm: getting user myuser usm: Unknown User(myuser) and the trap is not logged to stdout (used the -P flag on snmptrapd). Any ideas on what I'm missing? david |