diff --git a/configs/monitoring/pull.nix b/configs/monitoring/pull.nix index 6654f24..1642037 100644 --- a/configs/monitoring/pull.nix +++ b/configs/monitoring/pull.nix @@ -60,6 +60,11 @@ in for = "1h"; annotations.summary = "{{$labels.job}}: Using lots of RAM."; } + { + alert = "UptimeMonster"; + expr = "time() - node_boot_time_seconds > 2592000"; + annotations.summary = "{{$labels.job}}: up for more than 30 days."; + } { alert = "HostDown"; expr = ''up == 0'';