chore(bootstrap): 监控阈值降至 80% + 关闭正常心跳(仅异常告警)
ci-pangolin / Lint — shellcheck (push) Has been cancelled
ci-pangolin / OpenAPI Sync Check (push) Has been cancelled
ci-pangolin / Redline Scan — 脱敏 (UI 文案) (push) Has been cancelled
ci-pangolin / Flutter — analyze + test (push) Has been cancelled

CPU/MEM/DISK 阈值 90/90/85 → 统一 80;MONITOR_SEND_OK_PULSE true → false
(默认只在异常时推送,正常不打扰)。同步 init.sh 默认值与 bootstrap.env.example。

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
wangjia
2026-06-18 07:17:22 +08:00
parent d8b8752ec4
commit 1d76c00f66
2 changed files with 8 additions and 8 deletions
+4 -4
View File
@@ -35,12 +35,12 @@ TELEGRAM_BOT_TOKEN=""
TELEGRAM_CHAT_ID=""
NODE_NAME="$(hostname)"
MONITOR_INTERVAL_MIN=5
CPU_ALERT_PCT=90
MEM_ALERT_PCT=90
DISK_ALERT_PCT=85
CPU_ALERT_PCT=80
MEM_ALERT_PCT=80
DISK_ALERT_PCT=80
MONITOR_UNITS="sing-box pangolin-agent"
MONITOR_NET_PROBE="https://www.cloudflare.com/cdn-cgi/trace"
MONITOR_SEND_OK_PULSE=true
MONITOR_SEND_OK_PULSE=false
if [ -f "$SCRIPT_DIR/bootstrap.env" ]; then
log "读取配置 $SCRIPT_DIR/bootstrap.env"