Clojure 黎曼电子邮件设置问题

Clojure 黎曼电子邮件设置问题,clojure,riemann,Clojure,Riemann,我正在尝试使用电子邮件警报设置riemann(用于监控)。我在我的riemann.config文件中使用了以下部分,但在重新加载配置后,我将错误复制到下面。如果您有任何关于故障排除的想法,我们将不胜感激 Riemann.config (streams (where (and (service #"^riemann netty execution-handler") (state "critical")) (email "user@somewhere.c

我正在尝试使用电子邮件警报设置riemann(用于监控)。我在我的riemann.config文件中使用了以下部分,但在重新加载配置后,我将错误复制到下面。如果您有任何关于故障排除的想法,我们将不胜感激

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)
我忘了在下面的config-update中添加mailer部分

尝试发送电子邮件成功-我现在收到一个不同的错误,我将作为一个单独的问题发布()

您缺少将
电子邮件定义为
邮寄者的
(let…
表达式

参见示例

您缺少将
电子邮件定义为
邮寄者的
(let…
表达式


参见示例

是-我观察到了同样的情况,并使其起作用。谢谢你的分享。是的,我也观察到了同样的情况,并让它发挥作用。谢谢分享。