I have just updated the automatic abuse script for fail2ban: https://d0m.me/2014/08/24/fail2ban-send-automatic-abuse-email/
The new version is a modern Python implementation with a database to collect statistics and also proper handling of special cases like LACNIC.