Send fail2ban status updates to Slack.
Project description
fail2slack.py
A Python package for sending fail2ban jail status updates to Slack.
Compatibility
fail2slack is developed for, and tested with, recent versions of Python.
Installation
pip install fail2slack
Install fail2slack using the Python package installer.
Usage
usage: fail2slack [-h] [-w WEBHOOK] [-d DELIVERY] [-j JAILS [JAILS ...]]
optional arguments:
-h, --help show this help message and exit
-w WEBHOOK, --webhook WEBHOOK
Slack webhook URL. Required if delivery method is 1.
-d DELIVERY, --delivery DELIVERY
Delivery method: 0 = print, 1 = Slack webhook.
-j JAILS [JAILS ...], --jails JAILS [JAILS ...]
Jails to include in status report. Required.
Tests
For instructions on running test check out the README.
Contributing
If you'd like to contribute to fail2slack please reference our code of conduct and contributing guides.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fail2slack-0.1.tar.gz
(4.8 kB
view hashes)