配置nagios riemann集成进行监控

时间:2015-07-03 06:10:38

标签: monitoring nagios riemann

您好我想知道如何配置Riemann将事件转发到服务器This为Riemann 集成提供API但是没有足够的信息来做它.I我是黎曼的新手,我无法找到方法。

1 个答案:

答案 0 :(得分:2)

您需要在riemann.config文件中使用以下内容:

(let [nagios (nagios {:host "localhost" :port 5667 :password "secret" :encryption TRIPLE_DES})]
  (streams
    (where (service "some-critical-service")
      nagios)))

它将转发来自服务"某些关键服务"到nagios。发送给nagios的消息将包含事件中的主机,状态,服务和描述。

您可以找到有关documentation for integrating with other systemsapi docs specific to the nagios integration

的更多信息