Commit Graph

19 Commits

Author SHA1 Message Date
dd1b64de27 monitoring: auto-generate Prometheus scrape targets from host configs
Some checks failed
Run nix flake check / flake-check (pull_request) Successful in 2m49s
Run nix flake check / flake-check (push) Has been cancelled
Add homelab.monitoring NixOS options (enable, scrapeTargets) following
the same pattern as homelab.dns. Prometheus scrape configs are now
auto-generated from flake host configurations and external targets,
replacing hardcoded target lists.

Also cleans up alert rules: snake_case naming, fix zigbee2mqtt typo,
remove duplicate pushgateway alert, add for clauses to monitoring_rules,
remove hardcoded WireGuard public key, and add new alerts for
certificates, proxmox, caddy, smartctl temperature, filesystem
prediction, systemd state, file descriptors, and host reboots.

Fixes grafana scrape target port from 3100 to 3000.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 00:49:07 +01:00
3e943862ef Fix error in caddyfile
Some checks failed
Run nix flake check / flake-check (push) Failing after 4m21s
2025-06-01 02:25:50 +02:00
4754fea0c2 Configure more metrics for caddy
Some checks failed
Run nix flake check / flake-check (push) Has been cancelled
2025-06-01 02:24:34 +02:00
5b06a95222 Add prometheus pushgateway
Some checks failed
Run nix flake check / flake-check (push) Failing after 12m59s
2025-05-28 17:10:50 +02:00
2380c13465 Add pyroscope to caddy 2025-05-24 12:04:41 +02:00
6759653491 Add authelia to auth01
Some checks failed
Run nix flake check / flake-check (push) Failing after 29s
Periodic flake update / flake-update (push) Successful in 4m37s
2025-04-01 23:52:24 +02:00
cba1821f3b Add lldap to auth01 host 2025-04-01 22:23:59 +02:00
e366a05204 Fix caddy logging
Some checks failed
Run nix flake check / flake-check (push) Failing after 9m1s
Periodic flake update / flake-update (push) Successful in 1m36s
2025-01-28 00:49:22 +01:00
77432aa88c Add jellyfin to proxy
Some checks failed
Run nix flake check / flake-check (push) Failing after 9m41s
Periodic flake update / flake-update (push) Successful in 1m28s
2024-12-23 01:46:12 +01:00
1e7d8b4795 Add monitoring frontends to caddy
Some checks failed
Run nix flake check / flake-check (push) Failing after 8m32s
Periodic flake update / flake-update (push) Successful in 1m54s
2024-12-04 19:42:35 +01:00
4c60f7b5c1 Fix caddy metrics endpoint
Some checks failed
Run nix flake check / flake-check (push) Failing after 10m38s
2024-12-04 04:09:06 +01:00
5af18ca418 Gather caddy metrics
Some checks failed
Run nix flake check / flake-check (push) Has been cancelled
2024-12-04 04:02:24 +01:00
5844e7b32b Add internal CA
All checks were successful
Run nix flake check / flake-check (push) Successful in 3m31s
2024-11-30 20:24:43 +01:00
35071d5fc2 Add logging to http proxy 2024-11-30 12:53:20 +01:00
0058264fe1 Add home-assistant to proxy
All checks were successful
Run nix flake check / flake-check (push) Successful in 2m56s
Periodic flake update / flake-update (push) Successful in 2m16s
2024-11-09 14:07:40 +01:00
fcaba18602 Fix service urls for proxy
All checks were successful
Run nix flake check / flake-check (push) Successful in 2m45s
Periodic flake update / flake-update (push) Successful in 1m29s
2024-10-20 22:45:08 +02:00
42f74df4a5 Add services to proxy 2024-10-20 22:39:40 +02:00
a2db4db09e Add new cnames for proxy 2024-10-20 22:37:33 +02:00
504be31412 Add http-proxy host
All checks were successful
Run nix flake check / flake-check (push) Successful in 2m49s
2024-10-20 22:09:23 +02:00