From b7ad558457d122555e66764a89743421258498b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Barnouin?= Date: Mon, 7 Oct 2024 17:49:44 +0200 Subject: [PATCH] Add every host on prometheus config --- services/grafana/default.nix | 42 ++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/services/grafana/default.nix b/services/grafana/default.nix index abd9bf8..b54b709 100644 --- a/services/grafana/default.nix +++ b/services/grafana/default.nix @@ -93,6 +93,48 @@ in targets = [ "192.168.1.16:9002" ]; }]; } + { + job_name = "ingenuity"; + static_configs = [{ + targets = [ "192.168.1.90:9002" ]; + }]; + } + { + job_name = "gitea"; + static_configs = [{ + targets = [ "192.168.1.14:9002" ]; + }]; + } + { + job_name = "postgresql"; + static_configs = [{ + targets = [ "192.168.1.13:9002" ]; + }]; + } + { + job_name = "nextcloud"; + static_configs = [{ + targets = [ "192.168.1.44:9002" ]; + }]; + } + { + job_name = "deluge"; + static_configs = [{ + targets = [ "192.168.1.18:9002" ]; + }]; + } + { + job_name = "netbox"; + static_configs = [{ + targets = [ "192.168.1.45:9002" ]; + }]; + } + { + job_name = "jellyfin"; + static_configs = [{ + targets = [ "192.168.1.42:9002" ]; + }]; + } { job_name = "authentik"; static_configs = [{