Puppet Class: icinga::monitor::gitlab

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

Overview

Class: icinga::monitor::gitlab

Monitor Gitlab (T275170)



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

class icinga::monitor::gitlab {

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

    monitoring::service { 'gitlab-https':
        description   => 'Gitlab HTTPS healthcheck',
        check_command => 'check_https_url!gitlab.wikimedia.org!/explore',
        host          => 'gitlab.wikimedia.org',
        notes_url     => 'https://wikitech.wikimedia.org/wiki/GitLab#Monitoring',
    }

    monitoring::service { 'gitlab-ssh':
        description   => 'Gitlab SSH healthcheck git daemon',
        check_command => 'check_ssh_port_ip!22!gitlab.wikimedia.org',
        host          => 'gitlab.wikimedia.org',
        notes_url     => 'https://wikitech.wikimedia.org/wiki/GitLab#Monitoring',
    }
}