Recommit for updates in build 35

This commit is contained in:
Jenkins Server
2026-03-09 13:04:54 +01:00
parent de101ec4f1
commit 515a3ead81
3 changed files with 15 additions and 23 deletions

View File

@@ -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 { &#39;Nagios Service target for check_httpd has been disabled via parameters / ENC override&#39;: }
}
default: {
@@nagios_service { &quot;check_http_${fqdn}&quot;:
check_command =&gt; &#39;check_http&#39;,
use =&gt; &#39;generic-service&#39;,
host_name =&gt; $fqdn,
notification_period =&gt; &#39;24x7&#39;,
service_description =&gt; &quot;${fqdn}_check_http&quot;,
target =&gt; $ae_target_service,
owner =&gt; &#39;nagios&#39;,
group =&gt; &#39;nagios&#39;,
mode =&gt; &#39;0640&#39;,
contacts =&gt; &#39;ops&#39;,
}
if $ae_incl_target == true {
@@nagios_service { &quot;check_http_${fqdn}&quot;:
check_command =&gt; &#39;check_http&#39;,
use =&gt; &#39;generic-service&#39;,
host_name =&gt; $fqdn,
notification_period =&gt; &#39;24x7&#39;,
service_description =&gt; &quot;${fqdn}_check_http&quot;,
target =&gt; $ae_target_service,
owner =&gt; &#39;nagios&#39;,
group =&gt; &#39;nagios&#39;,
mode =&gt; &#39;0640&#39;,
contacts =&gt; &#39;ops&#39;,
}
}
}</pre>