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 = {