嗨,我想知道我如何配置黎曼转发事件到nagios服务器This给出了黎曼nagios集成的应用编程接口,但没有足够的信息做这件事。我是新手黎曼,我无法想出一个方法。
发布于 2015-07-08 03:54:54
您的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 systems和api docs specific to the nagios integration中找到更多信息
https://stackoverflow.com/questions/31199676
复制相似问题