Puppet Class: icinga::monitor::ores

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

Overview

Parameters:



2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# File 'modules/icinga/manifests/monitor/ores.pp', line 2

class icinga::monitor::ores (
    String $icinga_user,
    String $icinga_group,
){

    @monitoring::host { 'ores.wikimedia.org':
        host_fqdn => 'ores.discovery.wmnet',
    }

    monitoring::service { 'ores_worker_production':
        description   => 'ORES worker production',
        check_command => 'check_ores_workers!ores.wikimedia.org',
        host          => 'ores.wikimedia.org',
        contact_group => 'team-scoring',
        notes_url     => 'https://wikitech.wikimedia.org/wiki/ORES',
    }

    # T122830
    file { '/usr/local/lib/nagios/plugins/check_ores_workers':
        source => 'puppet:///modules/nagios_common/check_commands/check_ores_workers',
        owner  => $icinga_user,
        group  => $icinga_group,
        mode   => '0550',
    }
}