Service was unused. Live steps (revoke SecondBrain deploy key, drop the Uptime Kuma monitor, pct stop 142) were done 2026-09-02; pct destroy is deliberately deferred a week. - delete playbooks/pve-memoir-bot.yml. - hosts.yml: drop the memoir-bot host and its monitoring_exporters entry. - roles/monitoring_server/templates/prometheus.yml.j2: drop 192.168.1.26 target. - roles/uptime_kuma/defaults: drop 192.168.1.26 from no_proxy. - roles/lxc_docker_host/defaults: drop the memoir-bot extra-packages comment. The registry entry, the ssh_config Host block and the status.yml unit list are removed in the commits that also carry OpenTofu-migration / quorum changes to those files. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012uoq5AVK8mkBgg83Mq6o5V
94 lines
2.4 KiB
Django/Jinja
94 lines
2.4 KiB
Django/Jinja
global:
|
|
scrape_interval: 30s
|
|
evaluation_interval: 30s
|
|
|
|
alerting:
|
|
alertmanagers:
|
|
- static_configs:
|
|
- targets: ["alertmanager:9093"]
|
|
|
|
rule_files:
|
|
- /etc/prometheus/alerts.yml
|
|
|
|
scrape_configs:
|
|
- job_name: prometheus
|
|
static_configs:
|
|
- targets: ["localhost:9090"]
|
|
|
|
- job_name: node
|
|
static_configs:
|
|
- targets:
|
|
- "192.168.1.5:9100"
|
|
- "192.168.1.10:9100"
|
|
- "192.168.1.20:9100"
|
|
- "192.168.1.23:9100"
|
|
- "192.168.1.24:9100"
|
|
- "192.168.1.25:9100"
|
|
- "192.168.1.27:9100"
|
|
- "192.168.1.28:9100"
|
|
- "192.168.1.30:9100"
|
|
- "192.168.1.34:9100"
|
|
|
|
- job_name: pve
|
|
metrics_path: /pve
|
|
params:
|
|
module: [default]
|
|
static_configs:
|
|
- targets:
|
|
- "192.168.1.5"
|
|
- "192.168.1.10"
|
|
relabel_configs:
|
|
- source_labels: [__address__]
|
|
target_label: __param_target
|
|
- source_labels: [__param_target]
|
|
target_label: instance
|
|
- target_label: __address__
|
|
replacement: pve-exporter:9221
|
|
|
|
- job_name: blackbox-lan-http
|
|
metrics_path: /probe
|
|
params:
|
|
module: [http_2xx]
|
|
static_configs:
|
|
- targets:
|
|
- "http://192.168.1.24"
|
|
- "http://192.168.1.25:3000"
|
|
- "http://192.168.1.27:8080"
|
|
- "http://192.168.1.28"
|
|
- "http://192.168.1.34:6060/api/v1/healthcheck"
|
|
relabel_configs:
|
|
- source_labels: [__address__]
|
|
target_label: __param_target
|
|
- source_labels: [__param_target]
|
|
target_label: instance
|
|
- target_label: __address__
|
|
replacement: blackbox-exporter:9115
|
|
- target_label: probe_location
|
|
replacement: lan
|
|
|
|
- job_name: blackbox-lan-tcp
|
|
metrics_path: /probe
|
|
params:
|
|
module: [tcp_connect]
|
|
static_configs:
|
|
- targets:
|
|
- "192.168.1.5:8006"
|
|
- "192.168.1.10:8006"
|
|
- "192.168.1.20:8007"
|
|
- "192.168.1.25:2222"
|
|
- "192.168.1.27:9090"
|
|
relabel_configs:
|
|
- source_labels: [__address__]
|
|
target_label: __param_target
|
|
- source_labels: [__param_target]
|
|
target_label: instance
|
|
- target_label: __address__
|
|
replacement: blackbox-exporter:9115
|
|
- target_label: probe_location
|
|
replacement: lan
|
|
|
|
- job_name: pushgateway
|
|
honor_labels: true
|
|
static_configs:
|
|
- targets: ["pushgateway:9091"]
|