Puppet Class: openstack::glance::monitor

Defined in:
modules/openstack/manifests/glance/monitor.pp

Overview

Parameters:

  • contact_groups (String)
  • active (Boolean) (defaults to: true)


1
2
3
4
5
6
7
8
9
10
11
12
13
14
# File 'modules/openstack/manifests/glance/monitor.pp', line 1

class openstack::glance::monitor(
    String  $contact_groups,
    Boolean $active = true,
) {
    require openstack::glance::service

    monitoring::service { 'glance-api-http':
        ensure        => $active.bool2str('present', 'absent'),
        description   => 'glance-api http',
        check_command => 'check_http_on_port!19292',
        contact_group => $contact_groups,
        notes_url     => 'https://wikitech.wikimedia.org/wiki/Portal:Cloud_VPS/Admin/Troubleshooting',
    }
}