From 130dcc655ae247037e3c3a093c3ebc038048b0a4 Mon Sep 17 00:00:00 2001 From: mh Date: Fri, 25 Jul 2008 10:31:33 +0000 Subject: temporary disabled the service<->host ensure --- manifests/init.pp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'manifests') diff --git a/manifests/init.pp b/manifests/init.pp index 5520e04..18aeccd 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -238,7 +238,7 @@ define nagios::extra_host($ip, $nagios_alias, $use = 'generic-host', $parents = @@nagios_service { "check_ping_${name}": check_command => "check_ping!100.0,20%!500.0,60%", use => "generic-service", - host_name => $ip, + host_name => $name, notification_period => "24x7", service_description => "${nagios_alias}_check_ping", notify => Service[nagios], @@ -268,7 +268,8 @@ define nagios::service( # this ensures nagios internal check, that every # service has it's host - include nagios::target::host + # temporary disabled. + # include nagios::target::host $real_nagios_contact_groups = $nagios_contact_groups_in ? { '' => 'admins', -- cgit v1.2.3