移除通知信息中的 ID 字段

This commit is contained in:
dushixiang committed 2026-01-11 10:25:20 +08:00
1 parent 8904d39872
commit 80de85d51d
1 file changed
+1 -1
+1 -1
View File
@@ -266,7 +266,7 @@ func (n *Notifier) buildNoticeMessage(
lines := []string{
fmt.Sprintf("%s %s通知", levelIcon, metadata.Name),
"",
fmt.Sprintf("探针: %s (%s)", agent.Name, agent.ID),
fmt.Sprintf("探针: %s", agent.Name),
fmt.Sprintf("主机: %s", agent.Hostname),
fmt.Sprintf("IP: %s", displayIP),
fmt.Sprintf("告警类型: %s", record.AlertType),