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
24
# 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 {
        default:
            host      => 'gitlab.wikimedia.org',
            notes_url => 'https://wikitech.wikimedia.org/wiki/GitLab#Monitoring';
        'gitlab-https':
            description   => 'Gitlab HTTPS healthcheck',
            check_command => 'check_https_url!gitlab.wikimedia.org!/explore';
        'gitlab-https-expiry':
            description   => 'Gitlab HTTPS SSL Expiry',
            check_command => 'check_https_expiry!gitlab.wikimedia.org!443';
        'gitlab-ssh':
            description   => 'Gitlab SSH healthcheck git daemon',
            check_command => 'check_ssh_port_ip!22!gitlab.wikimedia.org';
    }
}