From 02fa9225a1ba67431dfe208eefa2fc332d3a072a Mon Sep 17 00:00:00 2001 From: Astro Date: Wed, 15 Apr 2020 02:03:48 +0200 Subject: [PATCH] scrape: scrape freifunk_nodes --- hosts/containers/scrape/configuration.nix | 36 +++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/hosts/containers/scrape/configuration.nix b/hosts/containers/scrape/configuration.nix index f3d1a900..9c53cba7 100644 --- a/hosts/containers/scrape/configuration.nix +++ b/hosts/containers/scrape/configuration.nix @@ -59,6 +59,22 @@ host = "matemat.hq.c3d2.de"; inherit (matematLogin) user password; }; + scrape-node1139 = makeService { + script = "freifunk_node"; + host = "10.200.4.120"; + }; + scrape-node1487 = makeService { + script = "freifunk_node"; + host = "10.200.5.213"; + }; + scrape-node1247 = makeService { + script = "freifunk_node"; + host = "10.200.4.228"; + }; + scrape-node1176 = makeService { + script = "freifunk_node"; + host = "10.200.4.157"; + }; }; systemd.timers.scrape-xeri = { partOf = [ "scrape-xeri.service" ]; @@ -85,6 +101,26 @@ wantedBy = [ "timers.target" ]; timerConfig.OnCalendar = "minutely"; }; + systemd.timers.scrape-node1139 = { + partOf = [ "scrape-node1139.service" ]; + wantedBy = [ "timers.target" ]; + timerConfig.OnCalendar = "minutely"; + }; + systemd.timers.scrape-node1487 = { + partOf = [ "scrape-node1487.service" ]; + wantedBy = [ "timers.target" ]; + timerConfig.OnCalendar = "minutely"; + }; + systemd.timers.scrape-node1247 = { + partOf = [ "scrape-node1247.service" ]; + wantedBy = [ "timers.target" ]; + timerConfig.OnCalendar = "minutely"; + }; + systemd.timers.scrape-node1176 = { + partOf = [ "scrape-node1176.service" ]; + wantedBy = [ "timers.target" ]; + timerConfig.OnCalendar = "minutely"; + }; # This value determines the NixOS release with which your system is to be # compatible, in order to avoid breaking some software such as database