riemann.nagios

Forwards events to Nagios via NSCA

event->nagios

(event->nagios e)

Converts an event into a Nagios message

nagios

(nagios opts)

Creates an adapter to forward events to Nagios. The Nagios message will contain the host, state, service and description. Use:

(nagios {:host “localhost” :port 5667 :password “secret” :encryption TRIPLE_DES})

  • :host Host where the Nagios service runs. Defaults to “127.0.0.1”.
  • :port The port to connect to. Defaults to 5667.
  • :password The password as set in /etc/nsca.cfg. Defaults to “password”.
  • :encryption The encryption method as set in /etc/nsca.cfg. Defaults to TRIPLE_DES. Please note that currently only NONE, XOR and TRIPLE_DES are supported.

NONE

state->nagios-state

(state->nagios-state state)

TRIPLE_DES

XOR