Commit Graph

22 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
fa4782e43f Attempt to fix caddyfile again
Some checks failed
Run nix flake check / flake-check (push) Failing after 4m5s
2025-06-01 02:35:31 +02:00
9236d6aef7 Fix caddyfile for nix-cache
Some checks failed
Run nix flake check / flake-check (push) Has been cancelled
2025-06-01 02:34:31 +02:00
7f84780956 Enable metrics endpoint for caddy on nix-cache
Some checks failed
Run nix flake check / flake-check (push) Has been cancelled
2025-06-01 02:32:22 +02:00
41aac24d52 Change caddy config on nix-cache
Some checks failed
Run nix flake check / flake-check (push) Has been cancelled
2025-06-01 02:30:33 +02:00
2747556674 Add --show-error to curl in build-flakes
Some checks failed
Run nix flake check / flake-check (push) Failing after 4m0s
2025-06-01 02:08:50 +02:00
de8bcda3c1 Modify curl flags for build-flakes
Some checks failed
Run nix flake check / flake-check (push) Has been cancelled
2025-06-01 02:07:20 +02:00
87c98581c2 Move label to url in build-flakes
Some checks failed
Run nix flake check / flake-check (push) Failing after 4m4s
2025-05-28 21:18:03 +02:00
2538f57312 Add curl requirement to build-flakes
Some checks failed
Run nix flake check / flake-check (push) Has been cancelled
2025-05-28 21:08:12 +02:00
a790331d0f Remove extra shebang in build-flakes
Some checks failed
Run nix flake check / flake-check (push) Has been cancelled
2025-05-28 21:06:37 +02:00
3588fa670e Fix shellcheck warnings in build-flakes
Some checks failed
Run nix flake check / flake-check (push) Has been cancelled
2025-05-28 21:05:28 +02:00
dd255955ca Rework build-flakes script
Some checks failed
Run nix flake check / flake-check (push) Has been cancelled
2025-05-28 21:03:25 +02:00
7c44bf9656 Include nix settings for nix-cache
Some checks failed
Run nix flake check / flake-check (push) Failing after 1s
2025-02-26 18:37:20 +01:00
844449b899 Disable using itself as substituter for nix-cache
Some checks failed
Run nix flake check / flake-check (push) Has been cancelled
2025-02-26 18:34:44 +01:00
78fc0c8c66 Increase harmonia logging
Some checks failed
Run nix flake check / flake-check (push) Failing after 5m18s
Periodic flake update / flake-update (push) Successful in 1m15s
2025-02-24 19:29:53 +01:00
99a2b414b8 Fix error when using unstable harmonia
Some checks failed
Run nix flake check / flake-check (push) Failing after 0s
2025-02-24 19:07:11 +01:00
d63d891231 Use harmonia from unstable
Some checks failed
Run nix flake check / flake-check (push) Has been cancelled
2025-02-24 19:05:33 +01:00
3fde3bf757 Switchg from nix-serve to harmonia
Some checks failed
Run nix flake check / flake-check (push) Has been cancelled
2025-02-24 18:25:32 +01: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
399c853f0c Correct caddy log-file
Some checks failed
Run nix flake check / flake-check (push) Failing after 8m6s
2025-01-27 23:59:00 +01:00
006d0b9213 Finish nix-cache
Some checks failed
Run nix flake check / flake-check (push) Failing after 4m3s
2025-01-24 15:48:03 +01:00
e70e892ab2 Add build-flakes script for nix-cache
Some checks failed
Run nix flake check / flake-check (push) Failing after 4m20s
2025-01-24 01:12:18 +01:00