snmp trap handler script for quotas

Having worked with DFM for a number of years (and been frustrated that the obvious feature of making quota alerts dynamic instead of after a polling interval still isn't in place) I've come to the conclusion that snmp trap's are the better way to go (I've had times when users have gone through soft and hard limits between DFM's polling intervals!)

Does anyone out there have an snmp trap handling script for this or relevant information on how to get me started?