| Crates.io | http-health-probe |
| lib.rs | http-health-probe |
| version | 0.1.0 |
| created_at | 2025-10-20 15:32:50.257125+00 |
| updated_at | 2025-10-20 15:32:50.257125+00 |
| description | A simple HTTP health probe tool |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1892183 |
| size | 89,277 |
A simple command-line tool to perform HTTP health checks on endpoints. It sends an HTTP request to a specified URL and verifies if the response status code matches the expected value.
http-health-probe [OPTIONS] <URL>
-t, --timeout <TIMEOUT>: Timeout in seconds for the request-s, --expected-status <STATUS>: Expected HTTP status code (default: 200)-m, --method <METHOD>: HTTP method to use (default: GET)-h, --help: Print help informationCheck if a website is up:
http-health-probe https://example.com
Check with a custom timeout and expected status:
http-health-probe --timeout 10 --expected-status 201 https://api.example.com/endpoint
Use POST method:
http-health-probe --method POST https://api.example.com/webhook
Download the pre-built binaries from the GitHub Releases page.
docker run --rm ghcr.io/calavera/http-health-probe https://example.com
cargo install --locked http-health-probe
Ensure you have Rust installed, then:
cargo build --release
The binary will be available at target/release/http-health-probe.
Build the image:
docker build -t http-health-probe:latest .
Run the probe:
docker run --rm http-health-probe https://example.com
Licensed under the Apache License, Version 2.0. See LICENSE for details.