OG T
a421d2c5b8
feat(ops): Plan A docker-health-monitor.sh — Docker 容器健康監控自動修復
- 偵測 unhealthy / exited / dead 容器
- 排除清單: DB(PG/Redis)、Gitea、監控棧
- Prometheus/Grafana/Alertmanager exited → docker start (保護 WAL)
- 必須三段式通知: Intent→Action→Result (首席架構師裁示)
- HMAC-SHA256 簽章 → AWOOOI API /api/v1/webhooks/custom-alert
- Fallback: API down → 直接 Telegram Bot API
- 冷卻期 300s,防止重複修復
部署: cron */5 * * * * on 192.168.0.110 + 192.168.0.188
設定: /etc/awoooi-ops/secrets.env
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-08 11:48:39 +08:00
..
2026-04-05 11:12:42 +08:00
2026-03-25 23:47:01 +08:00
2026-04-08 11:48:39 +08:00
2026-04-05 12:18:41 +08:00
2026-04-05 13:07:59 +08:00
2026-03-23 18:40:36 +08:00
2026-04-02 20:08:26 +08:00
2026-04-06 11:47:47 +08:00
2026-03-22 18:01:01 +08:00
2026-03-26 19:10:12 +08:00
2026-03-23 18:40:36 +08:00
2026-04-02 21:33:28 +08:00
2026-04-06 12:00:18 +08:00
2026-03-24 15:19:52 +08:00
2026-03-23 18:40:36 +08:00
2026-03-26 09:55:58 +08:00
2026-03-25 15:38:29 +08:00
2026-03-25 15:38:29 +08:00
2026-03-23 18:40:36 +08:00
2026-03-23 18:40:36 +08:00
2026-03-23 18:40:36 +08:00
2026-03-23 18:40:36 +08:00