Project · Bash · Prometheus · Health Check
prom-health
A small CLI health checker for a local Prometheus or Prom++ instance. It checks readiness, health, scrape targets, memory usage, runtime metrics and basic TSDB status.
/-/readyready
/-/healthyhealthy
targets1 down
tsdb statusread
What it checks
prom-health is useful for quick local diagnostics, cron checks, systemd timers and integration into Prometheus operational scripts.
Prometheus health
Checks readiness and health endpoints.
Scrape targets
Reads active targets, shows summary and prints unhealthy targets.
Runtime and TSDB
Shows process memory, Go runtime metrics and basic TSDB status.
Usage
git clone https://github.com/m0zgen/prom-health.git
cd prom-health
chmod +x prom-health.sh
./prom-health.shUse custom Prometheus URL:
./prom-health.sh -u http://127.0.0.1:9090Show all targets:
./prom-health.sh --allProject status
Small diagnostic tool for local Prometheus health checks. Good fit for cron, systemd timers, shell automation and quick troubleshooting.