From a9ef149fdf5331b8b6057775994a48d9188f501b Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 4 Apr 2022 14:29:09 -0700 Subject: prometheus: I'll get this right this time --- hosts/common/server/prometheus.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'hosts/common') diff --git a/hosts/common/server/prometheus.nix b/hosts/common/server/prometheus.nix index 7f6b207..05162a8 100644 --- a/hosts/common/server/prometheus.nix +++ b/hosts/common/server/prometheus.nix @@ -65,10 +65,8 @@ in { job_name = "blackbox-ping"; metrics_path = "/probe"; params = { module = [ "icmp" ]; }; - static_configs = [{ - targets = - [ "8.8.8.8" "1.1.1.1" "4.4.4.4" "fcuny.net" "git.fcuny.net" ]; - }]; + static_configs = + [{ targets = [ "8.8.8.8" "1.1.1.1" "git.fcuny.net" ]; }]; relabel_configs = [ { source_labels = [ "__address__" ]; @@ -87,7 +85,7 @@ in { { job_name = "blackbox-http"; metrics_path = "/probe"; - params = { module = [ "http_2xx" ]; }; + params = { module = [ "https_2xx" ]; }; static_configs = [{ targets = [ "https://fcuny.net" -- cgit 1.4.1