1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

feat(monitoring): add uptime alert

This commit is contained in:
2021-10-08 20:03:44 +02:00
parent fb7a295310
commit 1f28eb000d

View File

@@ -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'';