mob next [ci-skip] [ci skip] [skip ci]
lastFile:inventories/default.nix
This commit is contained in:
+1
-10
@@ -368,7 +368,7 @@
|
|||||||
rules = [
|
rules = [
|
||||||
{
|
{
|
||||||
alert = "test";
|
alert = "test";
|
||||||
expr = ''up{instance!~"(nerr-.*|theatnerr-.*)",job!~"lab-.*|snmp-.*"} == 1'';
|
expr = ''up{instance!~"(nerr-.*|theatnerr-.*)",job!~"lab-.*|snmp-.*"} == 0'';
|
||||||
for = "1m";
|
for = "1m";
|
||||||
annotations.summary = "{{ $labels.instance }} of job {{ $labels.job }} has been down for more than 5 minutes.";
|
annotations.summary = "{{ $labels.instance }} of job {{ $labels.job }} has been down for more than 5 minutes.";
|
||||||
}
|
}
|
||||||
@@ -391,15 +391,6 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
receivers = [
|
receivers = [
|
||||||
{
|
|
||||||
name = "uptime-kuma";
|
|
||||||
webhook_configs = [
|
|
||||||
{
|
|
||||||
url = "https://uptime.b4l.co.th/api/push/$${KUMA_TOKEN}?status=up&msg=OK&ping=";
|
|
||||||
send_resolved = true;
|
|
||||||
}
|
|
||||||
];
|
|
||||||
}
|
|
||||||
{
|
{
|
||||||
name = "matrix";
|
name = "matrix";
|
||||||
webhook_configs = [
|
webhook_configs = [
|
||||||
|
|||||||
Reference in New Issue
Block a user