From 6317f7ffba4774ee1db2e446d8a77eb446027db8 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Tue, 29 Dec 2020 18:57:18 +0000 Subject: [PATCH] swann: enable Prometheus smokeping_prober --- ops/nixos/swann/default.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/ops/nixos/swann/default.nix b/ops/nixos/swann/default.nix index ca0d1fa4ac..4872501126 100644 --- a/ops/nixos/swann/default.nix +++ b/ops/nixos/swann/default.nix @@ -214,5 +214,26 @@ in { name_servers='127.0.0.53' ''; + services.prometheus.exporters.smokeping = { + enable = true; + hosts = [ + "8.8.8.8" # Google Public DNS + "youtube.com" "ads.google.com" "google.com" + + "1.1.1.1" # Cloudflare DNS + + "twitter.com" + + "store.steampowered.com" + "api.steampowered.com" + + "prod.euw1.lol.riotgames.com" # League of Legends EUW + + "eu.battle.net" + "185.60.112.157" "185.60.112.158" # Diablo 3/HotS/Hearthstone + "185.60.114.159" # Overwatch + ]; + }; + system.stateVersion = "21.03"; }