From 70321ce23777217b058471e3763c657a5dbf5a06 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Tue, 29 Aug 2023 11:58:00 +0200 Subject: [PATCH] Scrape metrics from bay --- m/hut/monitoring.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/m/hut/monitoring.nix b/m/hut/monitoring.nix index 4bc3d24..65e68cc 100644 --- a/m/hut/monitoring.nix +++ b/m/hut/monitoring.nix @@ -67,7 +67,15 @@ "127.0.0.1:9323" "127.0.0.1:9252" "127.0.0.1:${toString config.services.prometheus.exporters.smartctl.port}" + ]; + }]; + } + { + job_name = "bay"; + static_configs = [{ + targets = [ "10.0.40.40:9283" # Ceph + "10.0.40.40:9002" # Node exporter ]; }]; }