From 9ec70f61c262b78ec23b5c5f53b73970aef6850e Mon Sep 17 00:00:00 2001 From: tutourenshi <70181730+tutourenshi@users.noreply.github.com> Date: Thu, 11 Dec 2025 20:46:19 +0800 Subject: [PATCH] doc: Update glances.md (#1016) Add alert mail configuration --- docs/glances.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/glances.md b/docs/glances.md index 8fef8d98..1fac5bb6 100644 --- a/docs/glances.md +++ b/docs/glances.md @@ -71,6 +71,20 @@ Glances 的配置文件位于 `~/.config/glances/glances.conf`。通过编辑这 ```ini [global] refresh=2 # 设置刷新间隔(以秒为单位) + +[alert] +enable = True + +# 邮件告警配置(放在 alert 下) +mail = True +mail_from = +mail_to = +mail_server = +mail_port = 465 +mail_user = +mail_password = +mail_tls = True + [cpu] enable=true # 显示 CPU 负载平均值 [mem]