Episode 16: Kuma alerts sorted by rules, a local agent and a script

ops-readonly gets kuma_alerts (host export kuma-export.py, one more read-only
mount). kuma-triage.py sorts the same data without a model. Flow H runs the
agent with skill alert-triage.md. Flow B: one open incident per monitor, an
UP closes all of them, titles name start and end and stay under Outline's
limit. B and D accept Kuma only with a header token. Monitoring notes: ntfy
rejects Kuma messages for monitors without a URL, resend for long outages.
This commit is contained in:
Maximilian Grimm 2026-09-29 22:14:50 +02:00
parent 54ab43dac7
commit 1655d04d7d
10 changed files with 705 additions and 67 deletions

View file

@ -5,6 +5,7 @@
"parameters": {
"httpMethod": "POST",
"path": "ops-triage",
"authentication": "headerAuth",
"responseMode": "onReceived",
"options": {}
},
@ -16,7 +17,13 @@
-360,
0
],
"webhookId": "e1633df9-d6dd-4c29-9c67-a9940d3018d6"
"webhookId": "e1633df9-d6dd-4c29-9c67-a9940d3018d6",
"credentials": {
"httpHeaderAuth": {
"id": "",
"name": "Kuma webhook token"
}
}
},
{
"parameters": {