Puppet Class: zuul::monitoring::merger

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

Overview

Class zuul::monitoring::merger

Icinga monitoring for the Zuul merger



5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# File 'modules/zuul/manifests/monitoring/merger.pp', line 5

class zuul::monitoring::merger {

    nrpe::monitor_service { 'zuul_merger':
        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':
        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',
    }

}