NAME

Kanku::Notifier::NSCA - A kanku notification module for Nagios NSCA

DESCRIPTION

Send a notification to a nagios NSCA daemon.

CONFIGURATION

GLOBAL

in /etc/kanku/kanku-config.yml:

 Kanku::Notifier::NSCA:
   init:
     encryption_password: ...
     encryption_type: ...
     remote_host: ...
     remote_port: ...
   send_report:
     hostname: <hostname_in_icinga>

JOB CONFIG FILE

  notifiers:
    -
      use_module: Kanku::Notifier::NSCA
      options:
        send_report:
          hostname: <hostname_in_icinga>
          service:  <servicename_in_icinga>
        state_map:         # optional
          succeed: 0       # works with Int
          failed: WARNING  # works with Strings (OK, WARNING, CRITICAL, UNKNOWN)
          skipped: unknown # is case insensitive
      states: failed,succeed

SEE ALSO

Net::NSCA::Client