prometheus Alertmanager“收件人”字段中的多个电子邮件接收器

问题描述 投票:0回答:2

如何在“收件人”字段中创建具有多个电子邮件地址的接收者配置?

email configuration monitoring prometheus
2个回答
49
投票

您可以在

to
字段中输入逗号分隔的电子邮件地址。

to: '[email protected], [email protected]'


12
投票

对于 prometheus 1.8,我在同一个接收器中使用两个“to”配置。

receivers:
  
  - name: 'bla1-and-bla2-mails'
    email_configs:
    - to: '[email protected]' 
      from: '[email protected]'
      require_tls: false
      send_resolved: true
    - to: '[email protected]'
      from: '[email protected]'
      require_tls: false
      send_resolved: true
© www.soinside.com 2019 - 2024. All rights reserved.