Puppet Class: icinga::monitor::wikidata

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

Overview

Class: icinga::monitor::wikidata

Monitor wikidata dispatch lag



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

class icinga::monitor::wikidata {
    @monitoring::host { 'www.wikidata.org':
        host_fqdn => 'www.wikidata.org',
    }

    monitoring::service { 'wikidata.org dispatch lag':
        description    => 'wikidata.org dispatch lag is higher than 600s',
        check_command  => 'check_wikidata',
        host           => 'www.wikidata.org',
        check_interval => 5,
        retry_interval => 1,
        contact_group  => 'admins,wikidata',
        notes_url      => 'https://phabricator.wikimedia.org/project/view/71/',
    }

    monitoring::service { 'wikidata.org dispatch extreme lag':
        description    => 'wikidata.org dispatch lag is REALLY high (>=4000s)',
        check_command  => 'check_wikidata_crit',
        host           => 'www.wikidata.org',
        check_interval => 5,
        retry_interval => 1,
        contact_group  => 'admins,wikidata',
        notes_url      => 'https://phabricator.wikimedia.org/project/view/71/',
    }
}