Skip to main content

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.

FlavourFeaturesInstall
Core Checks:
  • TCP
  • DNS (basic)
  • TLS
  • URL
  • POP3
  • SMTP
  • IMAP
Alerts:
  • Console
  • SMTP
pip3 install serverchecks
DNS Checks:
  • DNS (full)
pip3 install serverchecks[dns]
DNSSEC Checks:
  • DNSSEC
  • DNS (full)
pip3 install serverchecks[dnssec]
XMPP Alerts:
  • XMPP
pip3 install serverchecks[xmpp]
Telegram Alerts:
  • Telegram
pip3 install serverchecks[telegram]
Matrix Alerts:
  • Matrix
pip3 install 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.2.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

serverchecks-0.5.2-py3-none-any.whl (22.6 kB view details)

Uploaded Python 3

File details

Details for the file serverchecks-0.5.2.tar.gz.

File metadata

  • Download URL: serverchecks-0.5.2.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

Hashes for serverchecks-0.5.2.tar.gz
Algorithm Hash digest
SHA256 9f306ed6cb22a6bf931f2714114afd5a535cae19103cb1182f69ecb11af28128
MD5 73a9571f8f074a5eb45a1e8d12758390
BLAKE2b-256 d80e4c6746bfa7c863021a1b728effbbe306c71d30cd6aa7596d621af75506e6

See more details on using hashes here.

Provenance

File details

Details for the file serverchecks-0.5.2-py3-none-any.whl.

File metadata

  • Download URL: serverchecks-0.5.2-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

Hashes for serverchecks-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 47989ee4fb479d5b8ad03b6693cf2fa89d965744862e7e0a86f913d87cf4a156
MD5 ca53a1f8b26a42044435f42cd7b28ade
BLAKE2b-256 63990aeaf7a6a569a3a542a3a09b4700721e7844be580096a9d4db8c706f5196

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page