alerts: alert for uptime after 90 days instead

This commit is contained in:
teutat3s 2024-05-27 16:45:58 +02:00
parent 1235a4f878
commit 2eeef069a2
Signed by untrusted user: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -152,8 +152,8 @@ lib.mapAttrsToList
}; };
uptime = { uptime = {
condition = "(time() - node_boot_time_seconds ) / (60*60*24) > 30"; condition = "(time() - node_boot_time_seconds ) / (60*60*24) > 90";
description = "Uptime monster: {{$labels.instance}} has been up for more than 30 days."; description = "Uptime monster: {{$labels.instance}} has been up for more than 90 days.";
}; };
flake_nixpkgs_outdated = { flake_nixpkgs_outdated = {