From f71e807d479f1c685601ba452e81c5101203fc3a Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Wed, 5 Nov 2025 13:27:09 +0100 Subject: [PATCH] Add remote sblame probe to prometheus MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Aleix Boné --- m/hut/monitoring.nix | 3 ++- m/hut/sblame-probe.sh | 8 ++++++++ .../{gpfs-probe.nix => ssh-robot-probes.nix} | 19 +++++++++++++++++++ 3 files changed, 29 insertions(+), 1 deletion(-) create mode 100755 m/hut/sblame-probe.sh rename m/hut/{gpfs-probe.nix => ssh-robot-probes.nix} (58%) diff --git a/m/hut/monitoring.nix b/m/hut/monitoring.nix index 0c1cb78a..76de7ce0 100644 --- a/m/hut/monitoring.nix +++ b/m/hut/monitoring.nix @@ -5,7 +5,7 @@ ../module/slurm-exporter.nix ../module/meteocat-exporter.nix ../module/upc-qaire-exporter.nix - ./gpfs-probe.nix + ./ssh-robot-probes.nix ../module/nix-daemon-exporter.nix ]; @@ -111,6 +111,7 @@ "127.0.0.1:${toString config.services.prometheus.exporters.smartctl.port}" "127.0.0.1:9341" # Slurm exporter "127.0.0.1:9966" # GPFS custom exporter + "127.0.0.1:9967" # SLURM custom exporter "127.0.0.1:9999" # Nix-daemon custom exporter "127.0.0.1:9929" # Meteocat custom exporter "127.0.0.1:9928" # UPC Qaire custom exporter diff --git a/m/hut/sblame-probe.sh b/m/hut/sblame-probe.sh new file mode 100755 index 00000000..f8c02e2d --- /dev/null +++ b/m/hut/sblame-probe.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +cat <