From f19c292a7e7387b948fc1bb5d486733042390a4b Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Sun, 10 Sep 2023 21:50:53 +0200 Subject: [PATCH] service/node-exporter: increase nixpkgs_out_date threshold --- modules/services/node-exporter/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/services/node-exporter/default.nix b/modules/services/node-exporter/default.nix index 9d81652..cc6f97d 100644 --- a/modules/services/node-exporter/default.nix +++ b/modules/services/node-exporter/default.nix @@ -89,8 +89,8 @@ in my.services.prometheus.rules = { nixpkgs_out_of_date = { - condition = ''(time() - flake_input_last_modified{input="nixpkgs"}) / (60 * 60 * 24) > 7''; - description = "{{$labels.host}}: nixpkgs flake is older than a week"; + condition = ''(time() - flake_input_last_modified{input="nixpkgs"}) / (60 * 60 * 24) > 14''; + description = "{{$labels.host}}: nixpkgs flake is older than two weeks"; }; # disk space filesystem_full_shortly = {