Hi 
I have a problem on running snmptrapd (5.4.1) in Solaris 11.
My setup is actually using snmptrapd and calling traphandle.pl to perform a 
conversion from SNMPv3 to SNMPv2c. The perl script is also able to accept 
SNMPv2c trap.
I start the snmptrapd by "/usr/sbin/snmptrapd -On -Lsd -c 
/etc/snmp/snmptrapd.conf"
When sending a SNMPv2c trap to snmptrapd, the trap is logged, however, when 
sending a SNMPv3, nothing happened.
I verified the setup using starting the snmptrapd using -f option, i.e. 
"/usr/sbin/snmptrapd -f -On -Lsd -c /etc/snmp/snmptrapd.conf", it works.
I am puzzling why it didn't work if starting without "-f", can anyone help?
Thanks
RBKP.S> below is the snmptrapd.conf for reference.

############################################################################# 
snmptrapd.conf############################################################################
format1 "%02.2h:%02.2j TRAP%w.%q from %A\n
format2 "%02.2h:%02.2j TRAP%w.%q from %A\n
traphandle default /etc/snmp/traphandle_v3_v2c.pl
createUser -e 0x8000000001020304 aflyfish MD5 12345678 DES privpassauthUser 
log,execute aflyfish
ignoreauthfailure  1disableAuthorization yes
donotlogtraps  yes
logoption f
outputoption n
printeventnumbers  0
pidfile /etc/snmp/snmptrapd.pid                                           
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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