Help with setting up snmptrapd for SNMPV3
Matt Matson <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
I'm able to send v1/v2 traps, but not v3. Here is my configuration and attempts at sending authenticated traps. Thanks in advance. ---- [root@sf2sv01]# grep -v "^\S" snmptrapd.conf authCommunity log,execute,net public authUser log,execute,net myuser authpriv ---- <from /var/net-snmp/snmptrapd.conf -- initial config> createUser myuser MD5 "mypassword" DES ---- [root@sf2sv01]# snmptrapd -c ./snmptrapd.conf -Lf /usr/local/share/snmp/snmptrapd.log (starts successfully and encrypts/garbles the createUser entry in /var/net-snmp/snmptrapd.conf) ---- <sending a v2c trap works as expected> [root@sf2sv01]# snmptrap -v2c -cpublic 127.0.0.1 '' .1.3.6.1.4.1.2021.251.1 <trap received and entry made in snmptrapd.log> 2007-09-15 10:37:33 sf2sv01[UDP: [127.0.0.1]:32770]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (41877147) 4 days, 20:19:31.47SNMPv2-MIB::snmpTrapOID.0 = OID: UCD-SNMP-MIB::ucdStart ---- <sending v3 trap returns to Linux prompt without any errors but yields no messages in snmptrapd log> [root@sf2sv01]# snmptrap -v 3 -u myuser -l authPriv -a MD5 -A mypass -x DES -X mypass 127.0.0.1 '' .1.3.6.1.4.1.2021.251.1 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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