ECS:如何为客户报告创建 xDoctor 电子邮件规则

摘要: 电子邮件规则用于向客户端发送在 ECS 上触发的警报报告。它在 xDoctor 中进行配置,以允许通过专用 SMTP 向客户特定的电子邮件地址收件人发送警报。

本文章適用於 本文章不適用於 本文無關於任何特定產品。 本文未識別所有產品版本。

說明

1:我们可以通过进入 xDoctor 配置来检查 xDoctor 中配置的当前电子邮件规则,并按以下顺序运行:
(2) Event Notification  

sudo xdoctor -c 
admin@ecsnode1:~> sudo xdoctor -c

┌────────────────────────────┐
│ xDoctor Configuration Menu │
└───┬────────────────────────┘
┌───┼──────────┐
│ 1 │ Overview │
└───┼──────────┘
┌───┼────────────────────┐
│ 2 │ Event Notification │
└───┼────────────────────┘
┌───┼─────────────┐
│ 3 │ Auto Update │
└───┼─────────────┘
┌───┼────────────────┐
│ 4 │ Data Scrubbing │
└───┼────────────────┘
┌───┼─────────────────────┐
│ 5 │ ECS API Credentials │
└───┼─────────────────────┘
┌───┼───────────────┐
│ 6 │ IPMI Analysis │
└───┼───────────────┘
┌───┼───────────┐
│ 7 │ Autofixes │
└───┼───────────┘
┌───┼────────────────────┐
│ 8 │ xDoctor Activation │
└───┼────────────────────┘
    │
┌───┼──────┐
│ 0 │ Exit │
└───┴──────┘

Please make a choice: 2
 xDoctor Event Notification │
└───┬────────────────────────┘
┌───┼───────────────────┐
│ 1 │ Events to DellEMC │
└───┼───────────────────┘
     │
┌───┬┴─────────────────────────┐
│ 2 │ Email Events to Customer │
└───┼──────────────────────────┘
    │ Status       = Enabled
    │ Type         = Events per Session
    └┬─
     │ ID           = CER
     │ Notify On    = ERROR
     │ Recipients   = tse@dell.com
     │ Subject      = [S/N:][Suite:][Version:][Scope:]
     │ Email From   = DoNotReply@emc.com
     │ Body Type    = html
     │ SMTP Server  = mysmtpserver:25
     │ TLS          = No
     │
┌───┬┴──────────────────────────┐
│ 3 │ Syslog Events to Customer │
└───┼───────────────────────────┘
    │ Status       = Disabled
    └┬─
     │
┌───┬┴────────────────────────┐
│ 4 │ SNMP Events to Customer │
└───┼─────────────────────────┘
    │ Status       = Disabled
    └┬─
┌───┬┴──────────┐
│ 0 │ Main Menu │
└───┴───────────┘

Please make a choice: 2

2:客户提供要使用的 SMTP IP/FQDN 和两个电子邮件地址(发件人和收件人)。 

Enable Customer Events via EMAIL?  [Yes]:
Do you want to receive Individual Events (Yes) or Events per Session (No)?  [No]:
Current recipient list: ['tse@dell.com'] ...
Do you want to make a new recipient list?  [No]:

Recipient (1): tse@dell.com

Dedicated SMTP Server [Server_name or IP_address:port] [mysmtpserver:25]:

Please make sure to choose your own customer specific FROM address ...
Email From [DoNotReply@emc.com]:
Connect via SSL?  [No]:
Enable TLS?  [No]:
Trigger Severity [WARNING, ERROR] [ERROR]:
Email Body Type [html, plain] [html]:
Do you want to use a fixed subject?  [No]:
Do you want to use a subject prefix?  [No]:
Do you want to use a subject suffix?  [No]:

Send xDoctor Events to Customer = Yes
 |- Type           = Events per Session
 |- Recipients     = tse@dell.com
 |- SMTP Server    = mysmtpserver:25
 |- TLS            = False
 |- Notify On      = ERROR
 |- Body Type      = html
 |- Email From     = DoNotReply@emc.com

> Issue new Settings?  [No]: yes

3:验证新的电子邮件规则设置 

     │
┌───┬┴─────────────────────────┐
│ 2 │ Email Events to Customer │
└───┼──────────────────────────┘
    │ Status       = Enabled
    │ Type         = Events per Session
    └┬─
     │ ID           = CER
     │ Notify On    = ERROR
     │ Recipients   = tse@dell.com
     │ Subject      = [S/N:][Suite:][Version:][Scope:]
     │ Email From   = DoNotReply@emc.com
     │ Body Type    = html
     │ SMTP Server  = mysmtpserver:25
     │ TLS          = No
     │

受影響的產品

ECS

產品

ECS Appliance Gen 1, ECS Appliance Gen 2, ECS Appliance Gen 3, ECS Appliance Software with Encryption
文章屬性
文章編號: 000195909
文章類型: How To
上次修改時間: 02 12月 2025
版本:  7
向其他 Dell 使用者尋求您問題的答案
支援服務
檢查您的裝置是否在支援服務的涵蓋範圍內。