![如何将 sensu-client 作为独立应用程序运行?(不依赖于 rabbitmq)](https://linux22.com/image/649482/%E5%A6%82%E4%BD%95%E5%B0%86%20sensu-client%20%E4%BD%9C%E4%B8%BA%E7%8B%AC%E7%AB%8B%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F%E8%BF%90%E8%A1%8C%EF%BC%9F%EF%BC%88%E4%B8%8D%E4%BE%9D%E8%B5%96%E4%BA%8E%20rabbitmq%EF%BC%89.png)
我希望能够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 的依赖是可选的吗?