No project description provided
Project description
serverchecks
Python 3 module for fast, parallel execution of health checks on a broad range
of popular Internet infrastructure protocols with multi-protocol alerting capabilities.
Implemented in pure Python (no shell commands called) using asyncio
library.
Install
The module comes in a number of flavours that provide additional features using third-party Python libraries.
Flavour | Features | Install |
---|---|---|
Core |
Checks:
|
pip3 instal serverchecks
|
DNS | Checks:
|
pip3 instal serverchecks[dns]
|
DNSSEC | Checks:
|
pip3 instal serverchecks[dnssec]
|
XMPP | Alerts:
|
pip3 instal serverchecks[xmpp]
|
Telegram | Alerts:
|
pip3 instal serverchecks[telegram]
|
Matrix | Alerts:
|
pip3 instal serverchecks[matrix]
|
Usage
Create a basic configuration file checks.yaml
:
verbose: yes
alert_mode: always
alerts:
console:
- dummy:
checks:
basicdns:
- fqdn: webcookies.org
- fqdn: ipsec.pl
Run:
python -m serverchecks.main test.yaml
Sample output:
$ python -m serverchecks.main test.yaml
Initialized alert class <Console>
2 tests completed in 0.03 seconds, 2 successful, 0 failed
✓ webcookies.org 94.130.162.156
✓ ipsec.pl 98.143.148.71
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
serverchecks-0.5.0.tar.gz
(10.9 kB
view details)
Built Distribution
File details
Details for the file serverchecks-0.5.0.tar.gz
.
File metadata
- Download URL: serverchecks-0.5.0.tar.gz
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d85e9d90737e1103e5a7e74dbdc7caadd3e35d58e8fbe1699d23e8619af2a856 |
|
MD5 | 5b28506c9b81e50eaa462c59288bc53f |
|
BLAKE2b-256 | 890e886ac8b30a5d037b7fd70a12c81daf804db51a8dfd322a12eba19e2c5b4f |
Provenance
File details
Details for the file serverchecks-0.5.0-py3-none-any.whl
.
File metadata
- Download URL: serverchecks-0.5.0-py3-none-any.whl
- Upload date:
- Size: 22.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d25c9222ba58b8e44fff3578ae98ae742c3dc95ff00fb1e4caa1f397c668f22c |
|
MD5 | b4c93b434374790529d99222549fca0f |
|
BLAKE2b-256 | ef14e17bc47cdce39ae76c05d1fdf1a12ddd59c2a7bd56227305f7e20ecf25ea |