【问题标题】:[Prometheus]Couldn't load silences[普罗米修斯]无法加载静音
【发布时间】:2015-12-10 06:18:51
【问题描述】:

我配置alermanager.conf:

notification_config {
    name: "alert_test"
    email_config {
        email: "annt@gmail.com"
    }
}
aggregation_rule {
  repeat_rate_seconds: 3600
  notification_config_name: "alert_test"
}

然后,我执行命令:./alertmanager -config.file alertmanager.conf 并显示通知:

 Couldn't load silences, starting up with empty silence list: open silences.json: no such file or directory  file=main.go line=81

如何解决这个错误??? 谢谢!

【问题讨论】:

    标签: ubuntu-14.04 alert prometheus


    【解决方案1】:

    这是找不到静音文件的警告,这是您第一次启动警报管理器并且尚未创建任何静音时的正常现象。

    【讨论】:

    • 感谢您的回答!我有一个问题。我配置 postfix null-client 并设置 -notification.smtp.smarthost:25 ,但警报不会发送到邮件。它注意到“starttsl failed”并需要身份验证
    猜你喜欢
    • 1970-01-01
    • 2022-01-22
    • 1970-01-01
    • 2017-09-03
    • 1970-01-01
    • 2022-10-17
    • 2022-12-02
    • 2022-12-17
    • 2020-01-10
    相关资源
    最近更新 更多