From 83632cbd9cb90a0f567c021ed30063add0bad664 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Mon, 26 Sep 2022 09:30:28 +0200 Subject: [PATCH] feat(ful): monitoring --- systems/ful/configuration.nix | 2 +- systems/makanek/monitoring/default.nix | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/systems/ful/configuration.nix b/systems/ful/configuration.nix index a20fcd6..d6f171e 100644 --- a/systems/ful/configuration.nix +++ b/systems/ful/configuration.nix @@ -8,7 +8,7 @@ in { imports = [ ./hardware-configuration.nix - # + diff --git a/systems/makanek/monitoring/default.nix b/systems/makanek/monitoring/default.nix index 5fde2ef..0dba662 100644 --- a/systems/makanek/monitoring/default.nix +++ b/systems/makanek/monitoring/default.nix @@ -258,6 +258,16 @@ in { } ]; } + { + job_name = "ful"; + static_configs = [ + { + targets = [ + "ful.r:${toString config.services.prometheus.exporters.node.port}" + ]; + } + ]; + } ]; services.prometheus.exporters.blackbox = {