Defined Type: monitoring::exported_nagios_service

Defined in:
modules/monitoring/manifests/exported_nagios_service.pp

Overview

proxy to an exported nagios_service definition Used as a workaround of tickets.puppetlabs.com/browse/PUP-6698

Parameters:

  • ensure (Any)
  • host_name (Any)
  • servicegroups (Any)
  • service_description (Any)
  • check_command (Any)
  • max_check_attempts (Any)
  • check_interval (Any)
  • retry_interval (Any)
  • check_period (Any)
  • notification_interval (Any)
  • notification_period (Any)
  • notification_options (Any)
  • notifications_enabled (Any)
  • contact_groups (Any)
  • passive_checks_enabled (Any)
  • active_checks_enabled (Any)
  • is_volatile (Any)
  • check_freshness (Any)
  • freshness_threshold (Any)
  • event_handler (Any)
  • notes_url (Any)


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
47
48
49
# File 'modules/monitoring/manifests/exported_nagios_service.pp', line 3

define monitoring::exported_nagios_service (
    $ensure,
    $host_name,
    $servicegroups,
    $service_description,
    $check_command,
    $max_check_attempts,
    $check_interval,
    $retry_interval,
    $check_period,
    $notification_interval,
    $notification_period,
    $notification_options,
    $notifications_enabled,
    $contact_groups,
    $passive_checks_enabled,
    $active_checks_enabled,
    $is_volatile,
    $check_freshness,
    $freshness_threshold,
    $event_handler,
    $notes_url,
) {
    @@nagios_service { $title:
        ensure                 => $ensure,
        host_name              => $host_name,
        servicegroups          => $servicegroups,
        service_description    => $service_description,
        check_command          => $check_command,
        max_check_attempts     => $max_check_attempts,
        check_interval         => $check_interval,
        retry_interval         => $retry_interval,
        check_period           => $check_period,
        notification_interval  => $notification_interval,
        notification_period    => $notification_period,
        notification_options   => $notification_options,
        notifications_enabled  => $notifications_enabled,
        contact_groups         => $contact_groups,
        passive_checks_enabled => $passive_checks_enabled,
        active_checks_enabled  => $active_checks_enabled,
        is_volatile            => $is_volatile,
        check_freshness        => $check_freshness,
        freshness_threshold    => $freshness_threshold,
        event_handler          => $event_handler,
        notes_url              => $notes_url,
    }
}