Puppet Class: zuul::monitoring::merger

Defined in:
modules/zuul/manifests/monitoring/merger.pp

Overview

Class zuul::monitoring::merger

Icinga monitoring for the Zuul merger

Parameters

ensure

Parameters:

  • ensure (Wmflib::Ensure) (defaults to: present)


9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# File 'modules/zuul/manifests/monitoring/merger.pp', line 9

class zuul::monitoring::merger (
    Wmflib::Ensure $ensure = present,
) {

    nrpe::monitor_service { 'zuul_merger':
        ensure        => $ensure,
        description   => 'zuul_merger_service_running',
        contact_group => 'contint',
        nrpe_command  => "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 --ereg-argument-array 'bin/zuul-merger'",
        notes_url     => 'https://www.mediawiki.org/wiki/Continuous_integration/Zuul',
    }

    nrpe::monitor_service { 'zuul_merger_git_daemon':
        ensure        => $ensure,
        description   => 'git_daemon_running',
        contact_group => 'contint',
        # git-daemon forks sub process with an extra parameter '--serve'
        # the regex ends with --syslog to ignore the forked child
        nrpe_command  => "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 --ereg-argument-array '^/usr/lib/git-core/git-daemon --syslog'",
        notes_url     => 'https://www.mediawiki.org/wiki/Continuous_integration/Zuul',
    }

}