diff --git a/config/action.d/apprise.conf b/config/action.d/apprise.conf index 4b8708a3..899b1e5f 100644 --- a/config/action.d/apprise.conf +++ b/config/action.d/apprise.conf @@ -31,12 +31,10 @@ # # /etc/fail2ban/apprise.conf # fail2ban=mailto://user:pass@example.com # ``` -# 2 In /etc/fail2ban/jail.conf +# 2 In jail: # ``` -# # ... # action = %(action_)s # apprise[args='--tag fail2ban'] -# # ... # ``` # # Config Example #2: YAML an Custom path @@ -47,21 +45,19 @@ # - mailto://user:pass@example.com: # tags: f2b # ``` -# 2. In /etc/fail2ban/jail.conf +# 2. In jail: # ``` -# # ... # action = %(action_)s # apprise[config='/etc/fail2ban/apprise.yaml',args='--tag f2b'] -# # ... # ``` # # Config Example #3: Apprise API -# 1. in /etc/fail2ban/jail.conf +# 1. In jail: # ``` -# # ... # action = %(action_)s # apprise[config='http://apprise.example.ca/get/mykey',args='-g f2b'] -# # ... +# ``` + [Definition] # Option: actionstart diff --git a/config/jail.conf b/config/jail.conf index aa2da268..18749e1b 100644 --- a/config/jail.conf +++ b/config/jail.conf @@ -230,7 +230,7 @@ action_xarf = %(action_)s # ban & send a notification to one or more of the 120+ services supported by Apprise. # action = %(action_)s # apprise[config="/alternate/path/to/apprise.yaml", args='--tag fail2ban'] -# See https://github.com/caronc/apprise/wiki for details on what is supported. +# See https://appriseit.com/services/ for details on what is supported. # Or action.d/apprise.conf for more details how to configure or customize it. # ban IP on CloudFlare & send an e-mail with whois report and relevant log lines