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 25 26 27 28 29 30 31 32 33 34 35 |
# File 'modules/icinga/manifests/monitor/gitlab.pp', line 4
class icinga::monitor::gitlab {
@monitoring::host { 'gitlab.wikimedia.org':
host_fqdn => 'gitlab.wikimedia.org',
}
@monitoring::host { 'gitlab-replica-a.wikimedia.org':
host_fqdn => 'gitlab-replica-a.wikimedia.org',
}
@monitoring::host { 'gitlab-replica-b.wikimedia.org':
host_fqdn => 'gitlab-replica-b.wikimedia.org',
}
monitoring::service {
default:
host => 'gitlab.wikimedia.org',
notes_url => 'https://wikitech.wikimedia.org/wiki/GitLab#Monitoring',
migration_task => 'T384922';
'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':
# SSH is not behind the CDN: the public name resolves to text-lb, which
# only serves HTTPS, so probe the dedicated SSH hostname instead.
description => 'Gitlab SSH healthcheck git daemon',
check_command => 'check_ssh_port_ip!22!gitlab-ssh.wikimedia.org';
}
}
|