Puppet Class: icinga::monitor::legal

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

Overview

Class: icinga::monitor::legal



3
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
# File 'modules/icinga/manifests/monitor/legal.pp', line 3

class icinga::monitor::legal {

    @monitoring::host { 'en.wikipedia.org':
        host_fqdn => 'en.wikipedia.org',
    }

    @monitoring::host { 'en.m.wikipedia.org':
        ip_address => 'en.m.wikipedia.org',
    }

    @monitoring::host { 'en.wikibooks.org':
        host_fqdn => 'en.wikibooks.org',
    }

    monitoring::service { 'en.wp.o-legal-html':
        description    => 'Ensure legal html en.wp',
        check_command  => 'check_legal_html!https://en.wikipedia.org/wiki/Main_Page!desktop_enwp',
        host           => 'en.wikipedia.org',
        check_interval => 1440,
        retry_interval => 30,
        contact_group  => 'admins,legal',
        notes_url      => 'https://phabricator.wikimedia.org/project/members/28/',
    }

    monitoring::service { 'en.m.wp.o-legal-html':
        description    => 'Ensure legal html en.m.wp',
        check_command  => 'check_legal_html!https://en.m.wikipedia.org/wiki/Main_Page!mobile',
        host           => 'en.m.wikipedia.org',
        check_interval => 1440,
        retry_interval => 30,
        contact_group  => 'admins,legal',
        notes_url      => 'https://phabricator.wikimedia.org/project/members/28/',
    }

    monitoring::service { 'en.wb.o-legal-html':
        description    => 'Ensure legal html en.wb',
        check_command  => 'check_legal_html!https://en.wikibooks.org!desktop_enwb',
        host           => 'en.wikibooks.org',
        check_interval => 1440,
        retry_interval => 30,
        contact_group  => 'admins,legal',
        notes_url      => 'https://phabricator.wikimedia.org/project/members/28/',
    }
}