From: Iain L. <ia...@br...> - 2005-11-30 10:07:52
|
After deploying fail2ban on a set of servers I would like to suggest adding the keyword <hostname> to the subject option: # Option: subject # Notes.: subject of the e-mail. # Tags: <section> active section (eg ssh, apache, etc) # <hostanme> hostname running fail2ban # <ip> IP address # <failures> number of failures # <failtime> unix timestamp of the last failure # Values: TEXT Default: [Fail2Ban] <section>: Banned <ip> # subject = [Fail2Ban] <hostname> <section>: Banned <ip> Would save a lot of time as I had to hardcode each hostname in the current version ie. subject = [Fail2Ban] server16.fqdn.com <section>: Banned <ip> Regards Iain -- +49-172-8196039 Skype: iain.lea |