From b42d316524ed815e8eff80e5bb9968df9d680ea6 Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Thu, 4 Jan 2024 14:40:08 -0700 Subject: [PATCH] pwntie/box: add prom info --- hosts/box/default.nix | 4 ++++ hosts/pwntie/default.nix | 13 +++++++++++++ 2 files changed, 17 insertions(+) diff --git a/hosts/box/default.nix b/hosts/box/default.nix index 491ebf3..f481624 100644 --- a/hosts/box/default.nix +++ b/hosts/box/default.nix @@ -744,6 +744,10 @@ in job_name = "h"; static_configs = [{ targets = [ "100.83.77.133:9002" ]; }]; } + { + job_name = "pwntie"; + static_configs = [{ targets = [ "100.84.170.57:9002" ]; }]; + } { job_name = "namish"; static_configs = [{ targets = [ "10.200.0.100:9100" ]; }]; diff --git a/hosts/pwntie/default.nix b/hosts/pwntie/default.nix index dfa88ac..456285c 100644 --- a/hosts/pwntie/default.nix +++ b/hosts/pwntie/default.nix @@ -78,6 +78,19 @@ in }; services = { + prometheus = { + enable = true; + port = 9001; + listenAddress = "100.84.170.57"; + + exporters = { + node = { + enable = true; + enabledCollectors = [ "systemd" ]; + port = 9002; + }; + }; + }; rtlamr2mqtt = { enable = true; configuration = {