Using snmp trap receiver on Fedora (Linux)

First off install the net-snmp things:

sudo yum install net-snmp net-snmp-utils

After that it will run out of the box with the command:

sudo snmptrapd -A -d -n -Lf trap.log

Some interesting links:

http://net-snmp.sourceforge.net/wiki/index.php/TUT:snmptrap
http://net-snmp.sourceforge.net/wiki/index.php/TUT:Configuring_snmptrapd#Matching_SNMPv2_OIDs
http://www.net-snmp.org/tutorial/tutorial-5/commands/snmptrap.html