Sentinel — Uptime & SSL Monitor
A fast, minimal CLI tool to monitor website uptime and SSL certificate health concurrently from your terminal.
The Problem
Managing multiple projects means keeping track of domain health and SSL expiration dates manually — which is tedious and easy to miss. Sentinel gives you an instant, locally executable snapshot of your web services without the overhead of a heavy monitoring stack or an external SaaS dependency.
Key Features
- Concurrent checks — all sites are probed simultaneously using async I/O, not one by one
- SSL health tracking — extracts certificate expiry directly via raw TCP sockets, no third-party APIs
- Responsive terminal UI — color-coded output that adapts to your terminal width
- Declarative config — define all your targets in a single YAML file
- Independent health signals — network reachability, HTTP status, and TLS certificate validity are reported separately
- Graceful error handling — DNS failures, timeouts, and connection drops are caught and reported per site without crashing
Installation
pip install sentinel-monitor
Or with uv:
uv tool install sentinel-monitor
Quick Start
Generate a starter config in your current directory:
sentinel init
Run the monitor:
sentinel
Point to a specific config file:
sentinel -c /path/to/targets.yaml
Check version:
sentinel --version
Configuration
settings:
timeout: 5
alert_webhook: "" # optional: Discord/Slack webhook URL
sites:
- name: "Google"
url: "https://google.com"
- name: "My API"
url: "https://api.example.com"
How It Works
Sentinel is built around three components:
Configuration Manager — parses targets.yaml into typed dataclasses, validates structure, and raises actionable errors on bad input.
Concurrency Engine — an asyncio event loop dispatches all HTTP checks simultaneously via httpx. Sites are never checked sequentially.
Network Probes — two probe types run per site:
- Uptime probe: async HTTP
HEADrequest — minimal bandwidth, no body fetched - SSL probe: raw TCP socket wrapped with
ssl.SSLContextto extract and parse X.509 certificate metadata, runs in a background thread viaasyncio.to_threadto avoid blocking the event loop
Development Setup
git clone https://github.com/tomi3-11/sentinel-monitor.git
cd sentinel-monitor
uv venv && source .venv/bin/activate
uv sync
sentinel -c targets.yaml
Docker
docker build -t monitor .
docker run -t monitor sentinel -c targets.yaml
License
MIT
Metadata
Release files for sentinel-monitor 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sentinel_monitor-0.1.5.tar.gz | 16.0 kB | With provenance | Details for sentinel_monitor-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sentinel_monitor-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for sentinel_monitor-0.1.5-py3-none-any.whl |
Total release size: 27.1 kB
Release files / sentinel_monitor-0.1.5.tar.gz
| Download URL | sentinel_monitor-0.1.5.tar.gz |
|---|---|
| Size | 16.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3f41418d3255bd174a0dc3708b4d538ab1b88f7a1da81f3c08e0aa2cc694cd16
|
|
BLAKE2b-256 checksum How to use checksums |
7436e422939679e1477e2f29e51f49c204640c5dfe31532728c018843bda0bd0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.
Transparency logRelease files / sentinel_monitor-0.1.5-py3-none-any.whl
| Download URL | sentinel_monitor-0.1.5-py3-none-any.whl |
|---|---|
| Size | 11.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5c2e807b971abca3132976808fde542e642bd0b228a3361fc278560c0cf69f3d
|
|
BLAKE2b-256 checksum How to use checksums |
180bdcc3760ec2c174f070f7ac85ed391370e51f607be9d855eefb5f38f8a5f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.
Transparency logSecurity for sentinel-monitor 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for sentinel_monitor-0.1.5.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.