summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-12-06 23:01:06 +0200
committerPaul Buetow <paul@buetow.org>2025-12-06 23:01:06 +0200
commit89dfd9a663a613e234fa86f9f1a62462fabe663d (patch)
treeabdca2b2200c5c3f23fe644b04ddf690fd238f64
parent746865d185c8ded6bac8924c3fd4c478949c71ba (diff)
add openbsd node exporters
-rw-r--r--f3s/prometheus/Justfile2
-rw-r--r--f3s/prometheus/additional-scrape-configs.yaml5
2 files changed, 7 insertions, 0 deletions
diff --git a/f3s/prometheus/Justfile b/f3s/prometheus/Justfile
index 61e1f06..00e8f8a 100644
--- a/f3s/prometheus/Justfile
+++ b/f3s/prometheus/Justfile
@@ -3,12 +3,14 @@ install:
kubectl create secret generic additional-scrape-configs --from-file=additional-scrape-configs.yaml -n monitoring --dry-run=client -o yaml | kubectl apply -f -
helm install prometheus prometheus-community/kube-prometheus-stack --namespace monitoring -f persistence-values.yaml
kubectl apply -f freebsd-recording-rules.yaml
+ kubectl apply -f openbsd-recording-rules.yaml
just -f grafana-ingress/Justfile install
upgrade:
kubectl create secret generic additional-scrape-configs --from-file=additional-scrape-configs.yaml -n monitoring --dry-run=client -o yaml | kubectl apply -f -
helm upgrade prometheus prometheus-community/kube-prometheus-stack --namespace monitoring -f persistence-values.yaml
kubectl apply -f freebsd-recording-rules.yaml
+ kubectl apply -f openbsd-recording-rules.yaml
uninstall:
just -f grafana-ingress/Justfile delete
diff --git a/f3s/prometheus/additional-scrape-configs.yaml b/f3s/prometheus/additional-scrape-configs.yaml
index 4290795..93035d8 100644
--- a/f3s/prometheus/additional-scrape-configs.yaml
+++ b/f3s/prometheus/additional-scrape-configs.yaml
@@ -6,3 +6,8 @@
- '192.168.2.132:9100' # f2 via WireGuard
labels:
os: freebsd
+ - targets:
+ - '192.168.2.110:9100' # blowfish via WireGuard
+ - '192.168.2.111:9100' # fishfinger via WireGuard
+ labels:
+ os: openbsd