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:
@@ -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'';
|
||||
|
||||
Reference in New Issue
Block a user