【问题标题】:configure nagios riemann integration for monitoring配置 nagios riemann 集成以进行监控
【发布时间】:2015-07-03 06:10:37
【问题描述】:

嗨,我想知道如何配置 Riemann 以将事件转发到 服务器 This 提供 Riemann 集成的 API,但没有足够的信息来做这件事。我是 Riemann 的新手,我我想不出办法。

【问题讨论】:

    标签: nagios nagios monitoring nagios riemann


    【解决方案1】:

    您的 riemann.config 文件中需要类似以下内容:

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

    它将事件从服务“some-critical-service”转发到nagios。发送到 nagios 的消息将包含来自事件的主机、状态、服务和描述。

    您可以通过documentation for integrating with other systemsapi docs specific to the nagios integration 找到更多信息

    【讨论】:

    • 感谢您的回答,很抱歉回复晚了。以上信息可在 riemann docs 中找到。但我需要有关 nagios 中配置的信息
    • 我刚刚再次阅读了您的问题,我很清楚它是在询问 Riemann 中的配置以将事件转发到 Nagios,而不是询问 nagios 中的配置以接收来自 Riemann 的事件。我的回答包括来自 Riemann 文档的链接和信息,还包括特定于转发到 nagios 的完整示例配置,我在文档中找不到
    • 抱歉没有正确询问。您能否按照我的要求提供更多详细信息。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2016-06-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-02-18
    相关资源
    最近更新 更多