You need something like the following in your riemann.config file:
(let [nagios (nagios {:host "localhost" :port 5667 :password "secret" :encryption TRIPLE_DES})]
(streams
(where (service "some-critical-service")
nagios)))
It will forward the events from service "some-critical-service" to nagios. The message sent to nagios will contain the host, state, service and description from the event.
You can find more info looking into the documentation for integrating with other systems and the api docs specific to the nagios integration
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.