我希望能够sensu-client
作为独立应用程序运行,而不依赖于外部 rabbitmq。我基本上只是希望sensu-client
在检查脚本检测到问题时使用电子邮件处理程序。
目前我已经在 MS-windows 上安装了 sensu-client 作为 Windows 服务。
{"timestamp":"2015-01-13T14:25:41.513142+1100","level":"warn","message":"loading config file","file":"C:/etc/sensu/conf.d/client.json"}
{"timestamp":"2015-01-13T14:25:42.669581+1100","level":"error","message":"[amqp] Detected TCP connection failure"}
{"timestamp":"2015-01-13T14:25:42.669581+1100","level":"fatal","message":"transport connection error","error":"failed to connect to rabbitmq"}
{"timestamp":"2015-01-13T14:25:42.669581+1100","level":"warn","message":"stopping"}
{"timestamp":"2015-01-13T14:25:42.669581+1100","level":"info","message":"completing checks in progress","checks_in_progress":[]}
{"timestamp":"2015-01-13T14:25:43.185368+1100","level":"warn","message":"stopping reactor"
这些错误消息出现后,服务就终止了。
对 rabbitmq 的依赖是可选的吗?