Puppet Class: icinga::elasticsearch::cirrus_plugin

Defined in:
modules/icinga/manifests/elasticsearch/cirrus_plugin.pp

Overview

Class elasticsearch::nagios::cirrus_plugin

Includes the cirrus specific checks for elasticsearch. include this class on your Nagios/Icinga node.



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

class icinga::elasticsearch::cirrus_plugin {
    file {
        default:
            owner => 'root',
            group => 'root',
            mode  => '0755',
        ;
        '/usr/lib/nagios/plugins/check_cirrus_frozen_writes.py':
            source => 'puppet:///modules/icinga/elasticsearch/check_cirrus_frozen_writes.py',
        ;
        '/usr/lib/nagios/plugins/check_masters_eligible.py':
            source => 'puppet:///modules/icinga/elasticsearch/check_masters_eligible.py',
        ;
    }
    ensure_packages(['python3-requests', 'python3-dateutil'])
}