summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/init.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 3cf1e22..3c0c82d 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -192,8 +192,12 @@ class nagios::target::host {
define nagios::host(
$ip = $fqdn,
$nagios_alias = $hostname,
+ $check_command = 'check-host-alive',
$max_check_attempts = 4,
+ $check_period = '24x7',
$notification_interval = 120,
+ $notification_period = '24x7',
+ $notification_options = 'd,r',
$use = 'generic-host',
$nagios_contact_groups_in = $nagios_contact_groups,
$parents = 'localhost' )
@@ -211,8 +215,12 @@ define nagios::host(
ensure => present,
address => $ip,
alias => $nagios_alias,
+ check_command => $check_command,
max_check_attempts => $max_check_attempts,
+ check_period => $check_period,
notification_interval => $notification_interval,
+ notification_period => $notification_period,
+ notification_options => $notification_options,
parents => $real_nagios_parents,
contact_groups => $real_nagios_contact_groups,
use => $use,