简体   繁体   中英

configure nagios riemann integration for monitoring

Hi i want to know how can i configure Riemann to forward events to Server This gives the API for Riemann integration but there is not enough info of doing it.I am new to Riemann and i am unable to figure out a way.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM