Re: snmptrapd.conf: Error: bad security level (noauthnopriv, authnopriv, authpriv)
PoWah Wong <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
--- On Wed, 6/24/09, Dave Shield <[email protected]> wrote: > From: Dave Shield <[email protected]> > Subject: Re: snmptrapd.conf: Error: bad security level (noauthnopriv, authnopriv, authpriv) > To: "PoWah Wong" <[email protected]> > Cc: "net-snmp-users" <[email protected]> > Received: Wednesday, June 24, 2009, 3:26 AM > 2009/6/23 PoWah Wong <[email protected]>: > > I send a test trap with netsnmp 4.5.2.1 on FC6 linux > as follows: > > snmptrap -e 0x0102030405 -v 3 -u admin -l authPriv -a > MD5 -A 12345678 -x DES -X 87654321 172.20.11.72 42 > coldStart.0 > > > > The wireshark program running on 172.20.11.72 capture > this trap. > > However, no trap appear on the screen. > > One thing to check is whether the snmptrapd program is > actually > receiving this trap > > > > # snmptrapd -f -C -c /home/powah/snmp/snmptrapd.conf > -Le > > Add the '-d' flag to this command, and resend the trap. > Do you see a raw packet dump, or not? > > If not, then something is blocking this > port. Check your local > firewall settings ('iptables') > > Dave > Adding "-d" see a raw packet dump. Why without it nothing appear after the "NET-SNMP version 5.4.1" line? # snmptrapd -f -C -c /home/powah/snmp/snmptrapd.conf -Lo -d netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 netsnmp_subtree_load() netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 netsnmp_subtree_load() netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 netsnmp_subtree_load() NET-SNMP version 5.4.1 Received 155 bytes from UDP: [172.20.11.230]:32796 0000: 30 81 98 02 01 03 30 11 02 04 54 A1 B2 05 02 03 0.....0...T..... 0016: 00 FF E3 04 01 03 02 01 03 04 2E 30 2C 04 05 01 ...........0,... 0032: 02 03 04 05 02 01 00 02 01 00 04 05 61 64 6D 69 ............admi 0048: 6E 04 0C 53 AB ED 9F 9F 43 E4 9A D1 9C 97 83 04 n..S....C....... 0064: 08 00 00 00 1D D1 A4 D4 22 04 50 76 9C E5 02 AF ........".Pv.... 0080: 82 0C F9 56 98 3B 56 7A 72 86 E9 74 2B E5 B0 23 ...V.;Vzr..t+..# 0096: FF 56 27 3C BD 05 32 51 0E 02 17 86 70 D1 59 BA .V'<..2Q....p.Y. 0112: D3 6D 53 DC E9 B5 3A 38 18 C3 64 70 F7 4D 57 51 .mS...:8..dp.MWQ 0128: 91 80 BA 44 5A C7 BB 1E 29 17 3D E7 4C C1 86 9F ...DZ...).=.L... 0144: 22 72 CB 12 4C 11 1F B6 D3 96 1F "r..L...... __________________________________________________________________ Ask a question on any topic and get answers from real people. Go to Yahoo! Answers and share what you know at http://ca.answers.yahoo.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