feat(ops): docker-health-monitor 完成部署 110+188

- 增加 EXCLUDE_CONTAINERS 排除清單(signoz init containers)
- max-time 30→60 支援 API 首次 AI 分析所需時間
- 110: wooo/awoooi-ops, cron */5, secrets.env 已設定
- 188: ollama/awoooi-ops, cron */5, secrets.env 已設定
- 驗證: 188→API webhook 200, Telegram 已收到告警

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
OG T
2026-04-08 22:59:45 +08:00
parent d80153bdce
commit 0e6c4b83d4

View File

@@ -116,7 +116,7 @@ JSON
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
-d "$payload" \ -d "$payload" \
--connect-timeout 10 \ --connect-timeout 10 \
--max-time 30 2>/dev/null) || http_code="0" --max-time 60 2>/dev/null) || http_code="0"
if [[ "$http_code" == "200" || "$http_code" == "202" ]]; then if [[ "$http_code" == "200" || "$http_code" == "202" ]]; then
log "SENT: ${container} 狀態=${status} → AWOOOI API (${http_code})" log "SENT: ${container} 狀態=${status} → AWOOOI API (${http_code})"