From 228dd43c2b7a84099505be51465e3a1a336a99cc Mon Sep 17 00:00:00 2001 From: Chase Dumphord <60725859+ced4568@users.noreply.github.com> Date: Tue, 28 Apr 2026 10:59:13 -0500 Subject: [PATCH] Update prometheus.yml --- prometheus/prometheus.yml | 59 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/prometheus/prometheus.yml b/prometheus/prometheus.yml index e69de29..8cae213 100644 --- a/prometheus/prometheus.yml +++ b/prometheus/prometheus.yml @@ -0,0 +1,59 @@ + + +```yaml +global: + scrape_interval: 15s + evaluation_interval: 15s + +rule_files: + - "alert-rules.yml" + +scrape_configs: + - job_name: "prometheus" + static_configs: + - targets: + - "localhost:9090" + + - job_name: "proxmox" + static_configs: + - targets: + - "10.10.30.250:9221" + + - job_name: "k3s-control-plane" + static_configs: + - targets: + - "10.10.30.72:9100" + - "10.10.30.245:9100" + - "10.10.30.128:9100" + + - job_name: "k3s-workers" + static_configs: + - targets: + - "10.10.30.101:9100" + - "10.10.30.102:9100" + - "10.10.30.103:9100" + - "10.10.30.104:9100" + - "10.10.30.105:9100" + - "10.10.30.106:9100" + - "10.10.30.107:9100" + - "10.10.30.108:9100" + - "10.10.30.109:9100" + + - job_name: "homelab-services" + metrics_path: /probe + params: + module: [tcp_connect] + static_configs: + - targets: + - "10.10.30.250:8006" + - "10.10.30.143:80" + - "10.10.30.210:81" + - "10.10.30.61:4000" + - "10.10.30.143:30013" + relabel_configs: + - source_labels: [__address__] + target_label: __param_target + - source_labels: [__param_target] + target_label: instance + - target_label: __address__ + replacement: "blackbox-exporter:9115" \ No newline at end of file