feat: template-based message display, remove all emoji

This commit is contained in:
snowy-yang committed 2026-09-12 19:49:13 +08:00
1 parent 570eb0df70
commit 2e077eab33
11 files changed
+126 -68

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
[高负载告警] CPU 持续超过 {threshold}%,当前 {cpu}%
核心: {cores} 负载: {load}
TOP{top_n} 高负载进程:
{top_list}
+7
View File
@@ -0,0 +1,7 @@
可用命令(/ 或 ! 前缀均可,群聊可 @机器人):
/status 状态 - 总览(功耗/CPU/内存/温度/网络)
/power 功耗 - 功耗详情(RAPL/电池)
/top 进程 - CPU TOP10 进程
/temp 温度 - 传感器温度
/net 网络 - 网络速率
/help 帮助 - 本帮助
+1
View File
@@ -0,0 +1 @@
网络速率: 上行 {up} / 下行 {down}
+2
View File
@@ -0,0 +1,2 @@
功耗详情
{power}
+1
View File
@@ -0,0 +1 @@
[恢复] 服务器 CPU 已回落到 {cpu}%,负载恢复正常。
+8
View File
@@ -0,0 +1,8 @@
服务器状态
功耗: {power}
CPU: {cpu_total} / {cpu_max} (单核均值 {cpu_avg}%) 核心 {cores} 负载 {load}
内存: {memory}
最高温度: {temp}
网络: {net}
磁盘 {disk_mount}: {disk_used} ({disk_percent}%)
运行: {uptime}
+2
View File
@@ -0,0 +1,2 @@
传感器温度:
{temp_list}
+2
View File
@@ -0,0 +1,2 @@
CPU 占用 TOP{top_n}:
{top_list}