From 97f2a41960f5c2b66dd3df8ebac4f9b86376a5f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Sun, 15 Sep 2024 15:01:14 +0300 Subject: [PATCH] add ping exporter --- hosts/fwminex/configuration.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/hosts/fwminex/configuration.nix b/hosts/fwminex/configuration.nix index c5644c3..e53960c 100644 --- a/hosts/fwminex/configuration.nix +++ b/hosts/fwminex/configuration.nix @@ -342,6 +342,18 @@ in evaluation_interval = "1m"; }; + exporters.ping = { + enable = true; + settings = { + targets = [ + "1.1.1.1" + + "fra1-b.jakstys.lt" + myData.hosts."fra1-b".jakstIP + ]; + }; + }; + scrapeConfigs = let port = builtins.toString myData.ports.exporters.node;