From df319b9c4a40b18e96844906b38de40c9a360098 Mon Sep 17 00:00:00 2001 From: hz4th_coder Date: Mon, 1 Jun 2026 17:22:44 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=82=AE=E4=BB=B6=E9=80=9A=E7=9F=A5?= =?UTF-8?q?=E8=A7=84=E5=88=99=E4=B8=89=E5=A4=A7=E5=A2=9E=E5=BC=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 新增CPU温度监控资源 - 取双CPU较高温度值判断 2. 支持多资源随机组合监控 - 复选框替代单选,任一资源超标即触发 3. 新增测试发送按钮 - 可输入收件邮箱即时测试邮件通道 - 旧版单resource字段兼容: resources数组优先,无则回退resource - checkEmailRules重构: 逐资源独立计算触发状态,分别统计连续次数/持续时间/平均值 --- templates_full.txt | 340 ++++++++++++++++++++++++++++++++++----------- 1 file changed, 261 insertions(+), 79 deletions(-) diff --git a/templates_full.txt b/templates_full.txt index 262ea05..b3eed2b 100644 --- a/templates_full.txt +++ b/templates_full.txt @@ -360,9 +360,14 @@

邮件通知规则

- +
+ + +
暂无邮件通知规则
@@ -671,20 +676,39 @@
- - + +
+ + + + +
+

勾选多项可随机组合监控,任一资源超标即触发通知

- - % + + % / °C
+

对不同资源类型使用统一阈值(如CPU用%则填百分比,温度用°C则填温度值)

@@ -744,6 +768,45 @@
+ + +