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
- Select the YAML file to load in the file dialog
- The availablity percentage of the domain(s) will log to the console every 15 seconds
- 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 commandrun-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
Built Distribution
File details
Details for the file piland_http_health_checker-0.3.0.tar.gz
.
File metadata
- Download URL: piland_http_health_checker-0.3.0.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.12.0 Windows/11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12da9e6c898a258770e0c853a4f8e1c0c489c9b9ad8f6ac7334aeb5d27852bfe |
|
MD5 | 3f2654ebad92bf9c24569ebaf3a22fe8 |
|
BLAKE2b-256 | 16cfa578056cac1aaf6ec69ac308023afb6996c64d93274d48ed6824d46a7075 |
File details
Details for the file piland_http_health_checker-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: piland_http_health_checker-0.3.0-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.12.0 Windows/11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e33ef9ffcfd6dfb079e489899b1505b42c8b64b445111813cea8dd9d8bea9654 |
|
MD5 | a247410d3e2bee5ef74b4c34864fed32 |
|
BLAKE2b-256 | b8ad2e223d45a09de86f463183de9fdc456e37858f0d88c5aaa99c9b9d3ef24c |