Puppet Class: openstack::nova::fullstack::monitor

Defined in:
modules/openstack/manifests/nova/fullstack/monitor.pp

Overview



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# File 'modules/openstack/manifests/nova/fullstack/monitor.pp', line 1

class openstack::nova::fullstack::monitor {

    # Make sure every flavor is assigned to an aggregate, to avoid
    # things like T259542
    nrpe::plugin { 'check_flavor_properties':
        source => 'puppet:///modules/openstack/monitor/nova/check_flavor_properties.py',
    }
    nrpe::monitor_service { 'check-flavor_aggregates':
        ensure         => 'present',
        nrpe_command   => '/usr/local/lib/nagios/plugins/check_flavor_properties',
        sudo_user      => 'root',
        description    => 'all nova flavors are assigned necessary properties',
        timeout        => 30,
        check_interval => 15,
        contact_group  => 'wmcs-team-email,wmcs-bots',
        notes_url      => 'https://wikitech.wikimedia.org/wiki/Portal:Cloud_VPS/Admin/Host_aggregates';
    }
}