diff options
author | mh <mh@immerda.ch> | 2008-07-25 11:12:14 +0000 |
---|---|---|
committer | mh <mh@immerda.ch> | 2008-07-25 11:12:14 +0000 |
commit | 89b7a86b1827ed98254e7f792dcd1ba6b67582fa (patch) | |
tree | 8ee017316bb921b088490bdac69399793e4fd88b | |
parent | 130dcc655ae247037e3c3a093c3ebc038048b0a4 (diff) |
further improvements in the exported resources
-rw-r--r-- | manifests/init.pp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 18aeccd..b146a97 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -235,13 +235,11 @@ define nagios::extra_host($ip, $nagios_alias, $use = 'generic-host', $parents = use => $use, parents => $parents } - @@nagios_service { "check_ping_${name}": + nagios::service { "check_ping_${name}": + host_name => $name, check_command => "check_ping!100.0,20%!500.0,60%", - use => "generic-service", host_name => $name, - notification_period => "24x7", service_description => "${nagios_alias}_check_ping", - notify => Service[nagios], } } |