Skip to main content

Unit Tests downloads

fail2slack lets you send fail2ban jail status updates to Slack with ease.

Compatibility

Python Version Module Version

fail2slack is developed for and tested with recent versions of Python, including:

  • 3.9, 3.10, 3.11, 3.12, 3.13

Browse our build history at GitHub.

Installation

pip install fail2slack

Install fail2slack using the Python package installer.

Dependencies for using fail2slack are available in the requirements file.

Usage

usage: __main__.py [-h] [-w WEBHOOK] [-d DELIVERY] [-j JAILS [JAILS ...]] [-i IDENTIFIER]

options:
  -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.
  -i IDENTIFIER, --identifier IDENTIFIER
                        Update identifier. STRING of identifier to use. Default is hostname.

Result

Tests

For instructions on running test check out the README.

Contributing

Feedback, bug reports, feature requests, and pull requests are welcome!

If you'd like to contribute to fail2slack please reference our code of conduct and contributing guides.

Release files for fail2slack 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fail2slack 0.5.0
File Size Uploaded
fail2slack-0.5.0.tar.gz 13.1 kB Details

Release files / fail2slack-0.5.0.tar.gz

Download URL fail2slack-0.5.0.tar.gz
Size 13.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ac71aaf8df404006bfffd1a5e60e82aeb9a12a4e5f797a54f08cb19ad5ebe5ae
BLAKE2b-256 checksum
How to use checksums
62acf5a0265e387444e4f21b078ead85ee94e203affecf51f735a853f6130ba2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release history Release notifications | RSS feed

This release

0.5.0 This release

1 release file

0.4.0

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page