Puppet Class: icinga::monitor::wikitech_static

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

Summary

wikitech-static (hosted externally at Rackspace) specific

Overview

monitoring SPDX-License-Identifier: Apache-2.0



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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# File 'modules/icinga/manifests/monitor/wikitech_static.pp', line 4

class icinga::monitor::wikitech_static () {
  @monitoring::host { 'wikitech-static.wikimedia.org':
    host_fqdn     => 'wikitech-static.wikimedia.org',
    contact_group => 'wmcs-bots,admins',
  }

  # T89323
  monitoring::service { 'wikitech-static-sync':
    description    => 'Wikitech and wt-static content in sync',
    check_command  => 'check_wikitech_static',
    check_interval => 120,
    host           => 'wikitech-static.wikimedia.org',
    notes_url      => 'https://wikitech.wikimedia.org/wiki/Wikitech-static',
  }

  # T163721
  monitoring::service { 'wikitech-static-version':
    description    => 'Wikitech-static MW version up to date',
    check_command  => 'check_wikitech_static_version',
    check_interval => 720,
    host           => 'wikitech-static.wikimedia.org',
    notes_url      => 'https://wikitech.wikimedia.org/wiki/Wikitech-static',
  }

  monitoring::service { 'wikitech-static-main-page':
    description   => 'Wikitech-static main page has content',
    check_command => 'check_https_url_at_address_for_string!wikitech-static.wikimedia.org!/wiki/Main_Page?debug=true!Wikitech',
    contact_group => 'wmcs-bots,admins',
    host          => 'wikitech-static.wikimedia.org',
    notes_url     => 'https://wikitech.wikimedia.org/wiki/Wikitech-static',
  }

  monitoring::service { 'https_wikitech-static':
    description   => 'HTTPS-wikitech-static',
    check_command => 'check_ssl_http_letsencrypt!wikitech-static.wikimedia.org',
    host          => 'wikitech-static.wikimedia.org',
    contact_group => 'wmcs-bots,admins',
    notes_url     => 'https://wikitech.wikimedia.org/wiki/Wikitech-static',
  }

  monitoring::service { 'https_status-wikimedia':
    description   => 'HTTPS-status-wikimedia-org',
    check_command => 'check_ssl_http_letsencrypt!status.wikimedia.org',
    host          => 'wikitech-static.wikimedia.org',
    contact_group => 'wikitech-static',
    notes_url     => 'https://wikitech.wikimedia.org/wiki/Wikitech-static',
  }
}