stop preventive restart cron, archive DUMMY_SYS script (根治完成)

This commit is contained in:
oa-monitor committed 2026-11-06 15:52:57 +08:00
1 parent 20fa48fb34
commit cb08965cf4
4 files changed
+173 -1

No files matched your search

+7
View File
@@ -71,6 +71,13 @@ log_error() { log "ERROR" "$@"; }
dingtalk_alert() {
local level="$1" title="$2" body="$3"
local timestamp
# v2 降级(2026-11-05):只放行 P0,拦截 P1/P2 降噪
# 放行:watchdog count=0 自愈、DB 长查询、Docker 挂、推送断档
# 拦截:PID 异常、预防性重启、HTTP 故障、磁盘告警
if [[ "${level}" != "P0" ]]; then
log_info "[ALERT-LEVEL] 降级模式:拦截 ${level} ${title}"
return 0
fi
timestamp=$(date '+%Y-%m-%d %H:%M:%S')
# 告警冷却检查