alerts: alert for uptime after 90 days instead of 30 days #199

Merged
teutat3s merged 1 commit from alerts-tweak-uptime into main 2024-05-31 14:48:13 +00:00
Showing only changes of commit 2eeef069a2 - Show all commits

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 = {