summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2008-07-25 10:31:33 +0000
committermh <mh@immerda.ch>2008-07-25 10:31:33 +0000
commit130dcc655ae247037e3c3a093c3ebc038048b0a4 (patch)
tree219466c905eccae13ceb71109e8309c490257e64 /manifests/init.pp
parentb4cc64379b6a6b7804f36f84bf6eccad43ce4501 (diff)
temporary disabled the service<->host ensure
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp5
1 files changed, 3 insertions, 2 deletions
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',