Defined Type: monitoring::exported_nagios_host
- Defined in:
- modules/monitoring/manifests/exported_nagios_host.pp
Overview
proxy to an exported nagios_host 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 |
# File 'modules/monitoring/manifests/exported_nagios_host.pp', line 3
define monitoring::exported_nagios_host (
$ensure,
$host_name,
$address,
$hostgroups,
$check_command,
$check_period,
$max_check_attempts,
$notification_interval,
$notification_period,
$notification_options,
$contact_groups,
$icon_image,
$vrml_image,
$statusmap_image,
$parents=undef,
$notifications_enabled='1',
) {
@@nagios_host { $title:
ensure => $ensure,
host_name => $host_name,
parents => $parents,
address => $address,
hostgroups => $hostgroups,
check_command => $check_command,
check_period => $check_period,
max_check_attempts => $max_check_attempts,
notifications_enabled => $notifications_enabled,
contact_groups => $contact_groups,
notification_interval => $notification_interval,
notification_period => $notification_period,
notification_options => $notification_options,
icon_image => $icon_image,
vrml_image => $vrml_image,
statusmap_image => $statusmap_image,
}
}
|