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
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 50 51 |
# 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,
) {
if wmflib::have_puppetdb() {
@@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,
}
}
}
|