2015-12-10 22 views
0

我配置alermanager.conf:[普羅米修斯]未能加載沉默

notification_config { 
    name: "alert_test" 
    email_config { 
     email: "[email protected]" 
    } 
} 
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 

如何解決這一誤差Δθ ? 謝謝!

回答

0

這是一個警告,它無法找到靜音文件,這是第一次啓動alertmanager並且尚未創建任何靜音時的正常情況。

+0

感謝您的回答!我有一個問題。我配置postfix空客戶端並設置-notification.smtp.smarthost:25,但Alert不發送到郵件。它注意到「starttsl失敗」並且需要認證 – annt