Hello Steve,

I have used trapsess on net-snmp v5.4.2.1. It works for me with out giving the 
user name in the command in snmpd.conf file.
Below are the contents of my snmpd.conf file:
trapsess -e <engine-id> -l authPriv -u u1 1.2.3.4:162
view  full-view  included  1

view  none-view  excluded  1
access  g1 "" any priv exact full-view none-view full-view
group  g1  usm  u1

here we have created a user "u1" under the group "g1". This configuration is 
working well for traps. No need to give the user credentials in the trapsess 
command. 

Please let me know if it helps or if you need any other info.

thanks and regards
S Sarath



On Wednesday, November 27, 2013 2:31 AM, "Hammond, Steven" 
<steven.hamm...@polycom.com> wrote:
 
Hello, 
 
I am configuring net-snmp, I am on CentOS rpm and therefore on net-snmp V 5.5.4.
 
I assumed that if I made createUser lines in /var/lib/net-snmp/snmpd.conf and 
these users were pulled in and hashed, that then I could use trapsess lines and 
use the same user, and net-snmp would pull these users and find their hashed 
passwords.
 
No it seems that the createUser lines have nothing to do with traps.
 
So I created the trapsess line with user, auth type, auth pass… and it works, 
but these passwords are in clear text.  I see there is a -3M parameter option 
to trapsess (and snmptrap), but how do I hash the passwords to make them 
correct for that parameter?  I cannot find that detail anywhere.
 
Thank you,
Steve
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
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/listinfo/net-snmp-users
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
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/listinfo/net-snmp-users

Reply via email to