mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
alertmanager: alert when mastodon is down
This commit is contained in:
@@ -187,7 +187,7 @@ in
|
|||||||
}
|
}
|
||||||
{
|
{
|
||||||
alert = "Mastodon";
|
alert = "Mastodon";
|
||||||
expr = ''probe_success{instance="https://social.krebsco.de"}'';
|
expr = ''probe_success{instance="https://social.krebsco.de"} == 0'';
|
||||||
for = "5m";
|
for = "5m";
|
||||||
annotations.description = "Mastodon instance {{$labels.instance}} is down";
|
annotations.description = "Mastodon instance {{$labels.instance}} is down";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user