【发布时间】:2016-03-15 23:42:01
【问题描述】:
首先,我在服务器上配置 postfix null-client。它可以发送邮件成功 我配置 Alertmanager:
notification_config {
name: "alert_test"
email_config {
email: "abc@gmail.com"
}
}
aggregation_rule {
repeat_rate_seconds: 3600
notification_config_name: "alert_test"
}
并运行命令:
./alertmanager -notification.smtp.smarthost :25 -config.file alertmanager.conf
显示通知:
ERRO[0002] Error sending email notification: starttls failed: tls: either ServerName or InsecureSkipVerify must be specified in the tls.Config file=notifier.go line=758
你能帮我解决它吗?
【问题讨论】:
标签: prometheus