This is a discussion on Help with setting up snmptrapd for SNMPV3 within the SNMP Users forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. --===============0312102505== Content-Type: multipart/alternative; boundary="------------070804020009090209020601" This is ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
This is a multi-part message in MIME format.
--===============0312102505== Content-Type: multipart/alternative; boundary="------------070804020009090209020601" This is a multi-part message in MIME format. --------------070804020009090209020601 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 --------------070804020009090209020601 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> </head> <body bgcolor="#ffffff" text="#000000"> <small><big>I'm able to send v1/v2 traps, but not v3. Here is my configuration and attempts at sending authenticated traps. Thanks in advance.</big><br> ----<br> <br> [root@sf2sv01]# grep -v "^\S" snmptrapd.conf<br> authCommunity log,execute,net public<br> authUser log,execute,net myuser authpriv<br> <br> ----<br> <br> <from /var/net-snmp/snmptrapd.conf -- initial config><br> <br> createUser myuser MD5 "mypassword" DES<br> <br> ----<br> <br> [root@sf2sv01]# snmptrapd -c ./snmptrapd.conf -Lf /usr/local/share/snmp/snmptrapd.log<br> <br> (starts successfully and encrypts/garbles the createUser entry in /var/net-snmp/snmptrapd.conf)<br> <br> ----<br> <br> <sending a v2c trap works as expected><br> <br> [root@sf2sv01]# snmptrap -v2c -cpublic 127.0.0.1 '' ..1.3.6.1.4.1.2021.251.1<br> <br> <br> <trap received and entry made in snmptrapd.log> <br> <br> 2007-09-15 10:37:33 sf2sv01[UDP: [127.0.0.1]:32770]:<br> DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (41877147) 4 days, 20:19:31.47SNMPv2-MIB::snmpTrapOID.0 = OID: UCD-SNMP-MIB::ucdStart<br> <br> ----<br> <br> <sending v3 trap returns to Linux prompt without any errors but yields no messages in snmptrapd log><br> <br> [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<br> <br> <br> </small> </body> </html> --------------070804020009090209020601-- --===============0312102505== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- 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/ --===============0312102505== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/...net-snmp-users --===============0312102505==-- |