2026-06-15: mirror Uptime Kuma monitors into Prometheus Grafana
This commit is contained in:
parent
cddaf04ffa
commit
4686beca33
1 changed files with 35 additions and 0 deletions
|
|
@ -539,6 +539,41 @@ Verified current live state on monk before making changes:
|
||||||
`https://status.kitestacks.com/dashboard` returned `cookie-handoff` 6/6.
|
`https://status.kitestacks.com/dashboard` returned `cookie-handoff` 6/6.
|
||||||
- User confirmed after retest: Uptime Kuma Authentik SSO button works.
|
- User confirmed after retest: Uptime Kuma Authentik SSO button works.
|
||||||
|
|
||||||
|
### Uptime Kuma monitors mirrored into Prometheus/Grafana (2026-06-15)
|
||||||
|
User asked to set up the same monitors currently in Uptime Kuma for Grafana and
|
||||||
|
Prometheus. Existing Uptime Kuma monitor list at the time:
|
||||||
|
- `T14 Deb Assassin`: ping `127.0.0.1`
|
||||||
|
- `HomeRouter`: ping `192.168.1.254`
|
||||||
|
- `Google DNS`: ping `8.8.8.8`
|
||||||
|
- `TailScale`: ping `100.90.13.55`
|
||||||
|
|
||||||
|
Implemented on monk's live Prometheus/Grafana stack:
|
||||||
|
- Added `prom/blackbox-exporter` service to
|
||||||
|
`~/kitestacks-live/docker/prometheus/docker-compose.yml`.
|
||||||
|
- Added blackbox config
|
||||||
|
`~/kitestacks-live/docker/prometheus/blackbox.yml` with ICMP module
|
||||||
|
(`preferred_ip_protocol: ip4`, timeout 5s).
|
||||||
|
- Added Prometheus scrape job `uptime-kuma-ping-probes` in
|
||||||
|
`~/kitestacks-live/docker/prometheus/prometheus.yml`, using `/probe` with
|
||||||
|
`module=icmp` and labels `monitor_name` matching the Uptime Kuma names.
|
||||||
|
- Added Grafana provisioned dashboard
|
||||||
|
`~/kitestacks-live/docker/grafana/provisioning/dashboards/kitestacks-uptime-probes.json`
|
||||||
|
titled `KiteStacks Uptime Probes`, with stat/timeseries panels for
|
||||||
|
`probe_success{job="uptime-kuma-ping-probes"}` and
|
||||||
|
`probe_duration_seconds{job="uptime-kuma-ping-probes"}`.
|
||||||
|
- Ran `docker compose up -d` in the Prometheus directory, pulled/started
|
||||||
|
`blackbox-exporter`, restarted Prometheus, and restarted Grafana.
|
||||||
|
|
||||||
|
Verification:
|
||||||
|
- Prometheus config validates with `promtool check config`.
|
||||||
|
- Prometheus active targets include all four `uptime-kuma-ping-probes`.
|
||||||
|
- Query result for `probe_success{job="uptime-kuma-ping-probes"}`:
|
||||||
|
`Google DNS=1`, `T14 Deb Assassin=1`, `HomeRouter=0`, `TailScale=0`.
|
||||||
|
The two failures match Kuma's existing failing ping behavior from inside the
|
||||||
|
container/network namespace.
|
||||||
|
- Grafana logs show dashboard provisioning completed without dashboard errors
|
||||||
|
(only unrelated bundled plugin permission warnings).
|
||||||
|
|
||||||
Important security hygiene: local git remote for `~/claude-memory` contains an
|
Important security hygiene: local git remote for `~/claude-memory` contains an
|
||||||
HTTP token in the URL; do not print it in summaries. Prefer redacted URLs in
|
HTTP token in the URL; do not print it in summaries. Prefer redacted URLs in
|
||||||
handoffs.
|
handoffs.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue