I use snmptrapd
to catch SNMP traps and then put them into a MySQL database using a pretty generic trap handler. This gives me the opportunity to generate such useful information as:
> SELECT HOUR(time) AS "hour", COUNT(*) AS "bounces" FROM snmptraps
WHERE hostname = 'XXX' AND time > '2011-07-25'
AND trap_oid …