Email 普罗米修斯alertmanager中的多个电子邮件接收器”;至;领域
如何在“收件人”字段中创建具有多个电子邮件地址的收件人配置?您可以在“收件人”字段中使用逗号分隔的电子邮件地址Email 普罗米修斯alertmanager中的多个电子邮件接收器”;至;领域,email,configuration,monitoring,prometheus,Email,Configuration,Monitoring,Prometheus,如何在“收件人”字段中创建具有多个电子邮件地址的收件人配置?您可以在“收件人”字段中使用逗号分隔的电子邮件地址 to:'user1@example.com, user2@example.com“对于普罗米修斯1.8,我在同一接收器中使用了两种“到”配置 receivers: - name: 'bla1-and-bla2-mails' email_configs: - to: 'bla1@example.com' from: 'prometheus@exampl
to:'user1@example.com, user2@example.com“
对于普罗米修斯1.8,我在同一接收器中使用了两种“到”配置
receivers:
- name: 'bla1-and-bla2-mails'
email_configs:
- to: 'bla1@example.com'
from: 'prometheus@example.com'
require_tls: false
send_resolved: true
- to: 'bla2@example.com'
from: 'prometheus@example.com'
require_tls: false
send_resolved: true
我正在尝试,但它不起作用收件人:-姓名:'team one Mail'电子邮件\u配置:-收件人:'bla1@bla.com', 'bla2@bla.com“发件人:”prometheus@bla.com'需要\u tls:false发送\u已解决:true@Shell_Leko而不是:'bla1@bla.com', 'bla2@bla.com'. 试试单引号中的逗号,这样bla1@bla.com, bla2@bla.com'. 这样,两封电子邮件将以逗号分隔的字符串形式传递。这对我不起作用。唯一的工作是使用两个“to”配置。为什么这是公认的答案?