Recommended fail2ban configuration?

I’ve sometimes wanted to figure out how to get it to automatically block any site that hits obvious wordpress attack vectors, but haven’t ever tried hard enough to do that.