Skip to main content

fail2slack.py

Build Status codecov

A Python package for sending fail2ban jail status updates to Slack.

Compatibility

Python Version Module Version

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.

Metadata

Release files for fail2slack 0.1

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.1
File Size Uploaded
fail2slack-0.1.tar.gz 4.8 kB Details

Release files / fail2slack-0.1.tar.gz

Download URL fail2slack-0.1.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c00b54d92ead0f7fe37c4c9e804b516e777a62ea50dea6a839187c0d7a9f7658
BLAKE2b-256 checksum
How to use checksums
91a1a4bd945181a8ddf3b2fcda362f934696b52a4f3194994317fc99ec7fdcdb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.4

Release history Release notifications | RSS feed

0.5.0

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

This release

0.1 This release

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