Skip to main content

A program to check the health of a set of HTTP endpoints

Project description

piland-http-health-checker

A CLI application to check the health of a set of HTTP endpoints from a YAML file using the Typer library.

  • Reads a selected file with a list of HTTP endpoints in YAML format.
  • Tests the health of the endpoints every 15 seconds.
  • Keeps track of the availability percentage of the HTTP domain names being monitored by the program.
  • Logs the cumulative availability percentage for each domain to the console after the completion of each 15-second test cycle.

Prerequisites

  • Python: 3.12

Installation and Quickstart

  • Installing via PyPI

You can install this application using PyPI:

$ pip install piland-http-health-checker

Then to run it, execute the following in the terminal:

$ piland-http-health-checker run-program

Using the Application

  1. Select the YAML file to load in the file dialog
  2. The availablity percentage of the domain(s) will log to the console every 15 seconds
  3. To exit the program, press 'ctrl + C'

Usage:

$ piland-http-health-checker [OPTIONS] COMMAND [ARGS]...

Options:

  • --install-completion: Install completion for the current shell.
  • --show-completion: Show completion for the current shell, to copy it or customize the installation.
  • --help: Show this message and exit.

Commands:

  • rick: Do not run this command
  • run-program: Runs program on a loop

piland-http-health-checker rick

Do not run this command

Usage:

$ piland-http-health-checker rick [OPTIONS]

Options:

  • --help: Show this message and exit.

piland-http-health-checker run-program

Runs program on a loop

Usage:

$ piland-http-health-checker run-program [OPTIONS]

Options:

  • --help: Show this message and exit.

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

piland_http_health_checker-0.3.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file piland_http_health_checker-0.3.0.tar.gz.

File metadata

File hashes

Hashes for piland_http_health_checker-0.3.0.tar.gz
Algorithm Hash digest
SHA256 12da9e6c898a258770e0c853a4f8e1c0c489c9b9ad8f6ac7334aeb5d27852bfe
MD5 3f2654ebad92bf9c24569ebaf3a22fe8
BLAKE2b-256 16cfa578056cac1aaf6ec69ac308023afb6996c64d93274d48ed6824d46a7075

See more details on using hashes here.

File details

Details for the file piland_http_health_checker-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for piland_http_health_checker-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e33ef9ffcfd6dfb079e489899b1505b42c8b64b445111813cea8dd9d8bea9654
MD5 a247410d3e2bee5ef74b4c34864fed32
BLAKE2b-256 b8ad2e223d45a09de86f463183de9fdc456e37858f0d88c5aaa99c9b9d3ef24c

See more details on using hashes here.

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