Fail2Ban action to send notifications to HipChat
- Curl utility
- HTTP(S) access from your server to HipChat service
-
Clone repository
-
Copy files into
/etc/fail2ban
folder -
Copy
jail.local.example
asjail.local
, or put entire contents into already existent file (corresponding to categories)
-
Fill global values of
hipchat_token
andhipchat_room
(also you may override them per jail) -
Set
action = %(action_hipchat)s
for your jail (if you haven't copiedjail.local
completely) or by default -
Set proper
logpath
depending on your distribution -
Customize everything on your wish ;-)
-
Restart fail2ban service
This work is provided under the MIT License