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:
@@ -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})"
|
||||||
|
|||||||
Reference in New Issue
Block a user