Puppet Class: icinga::monitor::gerrit

Defined in:
modules/icinga/manifests/monitor/gerrit.pp

Overview

Class: icinga::monitor::gerrit

Monitor Gerrit (T215033)



4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# File 'modules/icinga/manifests/monitor/gerrit.pp', line 4

class icinga::monitor::gerrit {

    @monitoring::host { 'gerrit.wikimedia.org':
        host_fqdn => 'gerrit.wikimedia.org',
    }

    monitoring::service { 'gerrit-healthcheck':
        description   => 'Gerrit Health Check',
        check_command => 'check_https_url!gerrit.wikimedia.org!"/r/config/server/healthcheck~status"',
        contact_group => 'admins,gerrit',
        host          => 'gerrit.wikimedia.org',
        notes_url     => 'https://gerrit.wikimedia.org/r/config/server/healthcheck~status',
    }

    monitoring::service { 'gerrit-json':
        description   => 'Gerrit JSON',
        check_command => 'check_https_url_at_address_for_minsize!gerrit.wikimedia.org!"/r/changes/?n=25&O=81"!10000',
        contact_group => 'admins,gerrit',
        host          => 'gerrit.wikimedia.org',
        notes_url     => 'https://wikitech.wikimedia.org/wiki/Gerrit#Monitoring',
    }

}