Puppet Class: icinga::nsca::client

Defined in:
modules/icinga/manifests/nsca/client.pp

Overview

Class: icinga::nsca::client

Sets up an NSCA client to send passive check results to icinga



5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'modules/icinga/manifests/nsca/client.pp', line 5

class icinga::nsca::client {
    package { 'nsca-client':
        ensure => 'installed',
    }

    include ::passwords::icinga
    $nsca_decrypt_password = $::passwords::icinga::nsca_decrypt_password

    file { '/etc/send_nsca.cfg':
        content => template('icinga/send_nsca.cfg.erb'),
        owner   => 'root',
        mode    => '0400',
        require => Package['nsca-client'],
    }
}