grafana报错 msg=“Unable to translate notification id to uid“

grafana 发现大量日志报错

t=2020-08-05T16:45:28+0800 lvl=eror msg="Unable to translate notification id to uid" logger=alerting.testnotification error="Alert notification [ Id: 1, OrgId: 1 ] not found" dashboardId=72 alertId=65 panelId=13 notificationId=1
t=2020-08-05T16:45:28+0800 lvl=eror msg="Unable to translate notification id to uid" logger=alerting.testnotification error="Alert notification [ Id: 2, OrgId: 1 ] not found" dashboardId=72 alertId=67 panelId=15 notificationId=2
t=2020-08-05T16:45:28+0800 lvl=eror msg="Unable to translate notification id to uid" logger=alerting.testnotification error="Alert notification [ Id: 1, OrgId: 1 ] not found" dashboardId=72 alertId=67 panelId=15 notificationId=1
t=2020-08-05T16:45:28+0800 lvl=eror msg="Unable to translate notification id to uid" logger=alerting.testnotification error="Alert notification [ Id: 2, OrgId: 1 ] not found" dashboardId=72 alertId=68 panelId=16 notificationId=2
t=2020-08-05T16:45:28+0800 lvl=eror msg="Unable to translate notification id to uid" logger=alerting.testnotification error="Alert notification [ Id: 1, OrgId: 1 ] not found" dashboardId=72 alertId=68 panelId=16 notificationId=1
t=2020-08-05T16:45:28+0800 lvl=eror msg="Unable to translate notification id to uid" logger=alerting.testnotification error="Alert notification [ Id: 2, OrgId: 1 ] not found" dashboardId=72 alertId=69 panelId=17 notificationId=2
t=2020-08-05T16:45:28+0800 lvl=eror msg="Unable to translate notification id to uid" logger=alerting.testnotification error="Alert notification [ Id: 1, OrgId: 1 ] not found" dashboardId=72 alertId=69 panelId=17 notificationId=1
t=2020-08-05T16:45:28+0800 lvl=eror msg="Unable to translate notification id to uid" logger=alerting.testnotification error="Alert notification [ Id: 2, OrgId: 1 ] not found" dashboardId=72 alertId=70 panelId=18 notificationId=2

经过查询对比存在的alerting规则发现,并没有ID为1和2的notificationId

需要进入设置中的JSON model直接删除使用到这两个ID的通知方式

        "notifications": [
        #删除这一段
          {
            "id": 1
          },
          {
            "id": 2
          },
        ###
          {
            "uid": "AQzRebWGk"
          },
          {
            "uid": "Lzx33bWMz"
          }
        ]

删除保存后如果还在报错,则需要重启grafana

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值