Recommit for updates in build 35
This commit is contained in:
@@ -118,11 +118,7 @@
|
||||
20
|
||||
21
|
||||
22
|
||||
23
|
||||
24
|
||||
25
|
||||
26
|
||||
27</pre>
|
||||
23</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/monitoring/target.pp', line 6</span>
|
||||
@@ -130,22 +126,18 @@
|
||||
class confdroid_apache::monitoring::target (
|
||||
|
||||
) inherits confdroid_apache::params {
|
||||
case $ae_incl_target {
|
||||
false: { notify { 'Nagios Service target for check_httpd has been disabled via parameters / ENC override': }
|
||||
}
|
||||
default: {
|
||||
@@nagios_service { "check_http_${fqdn}":
|
||||
check_command => 'check_http',
|
||||
use => 'generic-service',
|
||||
host_name => $fqdn,
|
||||
notification_period => '24x7',
|
||||
service_description => "${fqdn}_check_http",
|
||||
target => $ae_target_service,
|
||||
owner => 'nagios',
|
||||
group => 'nagios',
|
||||
mode => '0640',
|
||||
contacts => 'ops',
|
||||
}
|
||||
if $ae_incl_target == true {
|
||||
@@nagios_service { "check_http_${fqdn}":
|
||||
check_command => 'check_http',
|
||||
use => 'generic-service',
|
||||
host_name => $fqdn,
|
||||
notification_period => '24x7',
|
||||
service_description => "${fqdn}_check_http",
|
||||
target => $ae_target_service,
|
||||
owner => 'nagios',
|
||||
group => 'nagios',
|
||||
mode => '0640',
|
||||
contacts => 'ops',
|
||||
}
|
||||
}
|
||||
}</pre>
|
||||
|
||||
Reference in New Issue
Block a user