Zend certified PHP/Magento developer

fail2ban – documentation of action variables?

I’m using fail2ban on my server and generating a report out of the bans.
I couldn’t find a documentation about all the possible variables in the actions, anyone got a source?

i.e. I could use <failures> to indicate the number of failed attempts. Is there a way to retrieve the issued bantime as well? (I’m using increasing bantimes, so It would be interesting if an ip is currently beeing banned for 1 min (first fail) or 1 day (multiple fails)