mob next [ci-skip] [ci skip] [skip ci]

lastFile:inventories/default.nix
This commit is contained in:
2026-06-19 13:24:55 +07:00
parent 50a7051772
commit f442d0e2fe
+1 -10
View File
@@ -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 = [