From 9cd5d406cf052bf0094e51dc16f516efc260adae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Mon, 18 Sep 2023 19:31:45 +0300 Subject: [PATCH] enable node_exporter for fwminex --- data.nix | 1 + hosts/vno1-oh2/configuration.nix | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/data.nix b/data.nix index b2e8585..dfb6205 100644 --- a/data.nix +++ b/data.nix @@ -72,6 +72,7 @@ rec { extraHostNames = [jakstIP]; publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHlWSZ/H6DR5i5aCrlrEQLVF9MXNvls/pjlLPLaav3f+"; jakstIP = "100.89.176.6"; + vno1IP = "192.168.189.10"; }; "mxp10.motiejus.jakst" = { publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIy9IR7Jq3hRZ5JgwfmeCgSKFrdgujnZt79uxDPVi3tu"; diff --git a/hosts/vno1-oh2/configuration.nix b/hosts/vno1-oh2/configuration.nix index e4f4957..aaa3811 100644 --- a/hosts/vno1-oh2/configuration.nix +++ b/hosts/vno1-oh2/configuration.nix @@ -411,6 +411,10 @@ job_name = "vno3-rp3b.servers.jakst"; static_configs = [{targets = ["${myData.hosts."vno3-rp3b.servers.jakst".jakstIP}:${port}"];}]; } + { + job_name = "fwminex.motiejus.jakst"; + static_configs = [{targets = ["${myData.hosts."fwminex.motiejus.jakst".vno1IP}:${port}"];}]; + } { job_name = "snmp_exporter"; static_configs = [{targets = ["127.0.0.1:9116"];}];