Livio Zanol Puppim wrote:
> Everytime I receive a trap the "traphandle" command executes two times.
> snmptrapd -c /etc/snmp/snmptrapd.conf -Lf /var/log/trap.log

Your config file /etc/snmp/snmptrapd.conf probably gets parsed twice.

Either add "-C" or start as

env SNMPCONFPATH=/etc/snmp:"`net-snmp-config --persistent-directory`"
snmptrapd -Lf /var/log/trap.log


Thomas Anders (thomas.anders at

This email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
Net-snmp-users mailing list
Please see the following page to unsubscribe or change other options: