我配置alermanager.conf:
notification_config {
name: "alert_test"
email_config {
email: "annt@gmail.com"
}
}
aggregation_rule {
repeat_rate_seconds: 3600
notification_config_name: "alert_test"
}
然后,我执行 command:./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
如何解决这个错误???谢谢!