monitoring01: remove host and migrate services to monitoring02 #43

Merged
torjus merged 1 commits from cleanup-monitoring01 into master 2026-02-17 21:08:00 +00:00
Owner

Summary

  • Remove monitoring01 host and its unused service modules (prometheus, grafana, loki, tempo, pyroscope) now that monitoring02 has fully replaced it
  • Migrate blackbox, exportarr (sonarr), and pve exporters to monitoring02, adapting scrape configs for VictoriaMetrics
  • Update alert rules to monitor monitoring02 services (victoriametrics, vmalert) instead of monitoring01 (prometheus, pushgateway, tempo, pyroscope)
  • Clean up terraform vault policies/secrets, http-proxy reverse proxy entries, DNS CNAMEs, and documentation references

Changes

  • hosts/monitoring01/ - Deleted entirely
  • services/monitoring/{default,prometheus,grafana,loki,tempo,pyroscope}.nix - Deleted (monitoring01-only modules)
  • services/monitoring/{blackbox,exportarr,pve}.nix - Adapted for monitoring02 (removed scrapeConfigs, updated vault paths)
  • services/victoriametrics/default.nix - Added blackbox_tls, sonarr, pve scrape jobs and TLS target list; updated apiary-token secret path
  • hosts/monitoring02/default.nix - Import blackbox, exportarr, pve modules
  • services/monitoring/rules.yml - Replace monitoring01 alerts with monitoring02 equivalents
  • services/grafana/default.nix - Remove Prometheus (monitoring01) datasource
  • services/http-proxy/proxy.nix, hosts/http-proxy/configuration.nix - Remove pyroscope/pushgw proxy entries and CNAMEs
  • terraform/vault/{approle,secrets,hosts-generated}.tf - Remove monitoring01 policies, migrate secrets to monitoring02
  • flake.nix - Remove monitoring01 nixosConfiguration
  • CLAUDE.md, README.md, .claude/skills/observability/SKILL.md - Update documentation for monitoring02/VictoriaMetrics
## Summary - Remove monitoring01 host and its unused service modules (prometheus, grafana, loki, tempo, pyroscope) now that monitoring02 has fully replaced it - Migrate blackbox, exportarr (sonarr), and pve exporters to monitoring02, adapting scrape configs for VictoriaMetrics - Update alert rules to monitor monitoring02 services (victoriametrics, vmalert) instead of monitoring01 (prometheus, pushgateway, tempo, pyroscope) - Clean up terraform vault policies/secrets, http-proxy reverse proxy entries, DNS CNAMEs, and documentation references ## Changes - `hosts/monitoring01/` - Deleted entirely - `services/monitoring/{default,prometheus,grafana,loki,tempo,pyroscope}.nix` - Deleted (monitoring01-only modules) - `services/monitoring/{blackbox,exportarr,pve}.nix` - Adapted for monitoring02 (removed `scrapeConfigs`, updated vault paths) - `services/victoriametrics/default.nix` - Added blackbox_tls, sonarr, pve scrape jobs and TLS target list; updated apiary-token secret path - `hosts/monitoring02/default.nix` - Import blackbox, exportarr, pve modules - `services/monitoring/rules.yml` - Replace monitoring01 alerts with monitoring02 equivalents - `services/grafana/default.nix` - Remove Prometheus (monitoring01) datasource - `services/http-proxy/proxy.nix`, `hosts/http-proxy/configuration.nix` - Remove pyroscope/pushgw proxy entries and CNAMEs - `terraform/vault/{approle,secrets,hosts-generated}.tf` - Remove monitoring01 policies, migrate secrets to monitoring02 - `flake.nix` - Remove monitoring01 nixosConfiguration - `CLAUDE.md`, `README.md`, `.claude/skills/observability/SKILL.md` - Update documentation for monitoring02/VictoriaMetrics
torjus added 1 commit 2026-02-17 21:07:55 +00:00
monitoring01: remove host and migrate services to monitoring02
Some checks failed
Run nix flake check / flake-check (push) Failing after 3m15s
Run nix flake check / flake-check (pull_request) Failing after 3m8s
4f593126c0
Remove monitoring01 host configuration and unused service modules
(prometheus, grafana, loki, tempo, pyroscope). Migrate blackbox,
exportarr, and pve exporters to monitoring02 with scrape configs
moved to VictoriaMetrics. Update alert rules, terraform vault
policies/secrets, http-proxy entries, and documentation to reflect
the monitoring02 migration.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
torjus merged commit 95a96b2192 into master 2026-02-17 21:08:00 +00:00
torjus deleted branch cleanup-monitoring01 2026-02-17 21:08:00 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: torjus/nixos-servers#43