mirror of
https://github.com/kmein/niveum
synced 2026-03-29 08:41:07 +02:00
feat(monitoring): add uptime alert
This commit is contained in:
@@ -60,6 +60,11 @@ in
|
|||||||
for = "1h";
|
for = "1h";
|
||||||
annotations.summary = "{{$labels.job}}: Using lots of RAM.";
|
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";
|
alert = "HostDown";
|
||||||
expr = ''up == 0'';
|
expr = ''up == 0'';
|
||||||
|
|||||||
Reference in New Issue
Block a user