我正在尝试使用电子邮件警报设置 riemann(用于监控)。我在 riemann.config 文件中使用了以下部分,但是在重新加载配置后,我得到了下面复制的错误。任何有关故障排除的想法将不胜感激。
黎曼配置文件
(streams
(where (and (service #"^riemann netty execution-handler")
(state "critical"))
(email "user@somewhere.com")))
错误:
java.lang.RuntimeException: Unable to resolve symbol: email in this context, compiling:(/home/user/test/riemann-0.2.4/etc/riemann.config:40:9)
我忘记在配置中添加邮件部分 - 更新以跟随。
发送电子邮件的尝试是成功的 - 我现在收到一个不同的错误,我将作为一个单独的问题发布(SMTP 的 riemann 电子邮件异常)。