【问题标题】:Grafana alert/notifier not showing in contact pointsGrafana 警报/通知器未显示在联系点中
【发布时间】:2022-11-03 15:51:19
【问题描述】:

我目前正在使用最新版本和掌舵图设置一个新的 Grafana。 我添加了一个通知程序,以便将警报发送到 Microsoft 团队频道。 notifiers.yaml 可以在 'etc/grafana/provisioning/notifiers' 的运行容器中找到

不幸的是,它没有出现在“联系点”中。

关于通知者的掌舵图部分如下所示

notifiers: 
 notifiers.yaml:
   notifiers:
   - name: sa-roemoe-notifier
     type: teams
     uid: lnc31CJGz
     org_id: 1
     is_default: true
     settings:
       url: <<myTeamsUrl>>

有什么问题吗? 由于它已经在运行的容器中,我认为我犯了一个错误,但我无法弄清楚。

此致。

【问题讨论】:

    标签: notifications kubernetes-helm alert grafana


    【解决方案1】:

    迁移到 grafana 9 中的新警报后也面临这样的问题。

    尝试另一种方式

    alerting:
      contactpoints.yaml:
        apiVersion: 1
        contactPoints:
          - orgId: 1
            name: Name
            receivers:
              - uid: Name
                type: webhook
                settings:
                  url: https://url
                  ....
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多