Recommit for updates in build 28

This commit is contained in:
Jenkins Server
2026-09-08 13:40:14 +02:00
parent 195cbac5fe
commit c2369b6e96

View File

@@ -135,7 +135,24 @@
37 37
38 38
39 39
40</pre> 40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57</pre>
</td> </td>
<td> <td>
<pre class="code"><span class="info file"># File 'manifests/monitoring/target.pp', line 6</span> <pre class="code"><span class="info file"># File 'manifests/monitoring/target.pp', line 6</span>
@@ -173,6 +190,23 @@ class confdroid_puppet::monitoring::target (
contacts =&gt; $pt_target_contacts, contacts =&gt; $pt_target_contacts,
} }
} }
if $fqdn == $pt_puppetdb_fqdn and $pt_use_puppetdb == true {
# puppetdb service
@@nagios_service { &quot;check_puppetdb_${fqdn}&quot;:
check_command =&gt; &quot;check_nrpe!check_puppetdb!${pt_procs_allowed}!puppetdb&quot;,
use =&gt; &#39;generic-service&#39;,
host_name =&gt; $fqdn,
notification_period =&gt; &#39;24x7&#39;,
service_description =&gt; &quot;${fqdn}_check_puppetdb&quot;,
target =&gt; $pt_target_service,
owner =&gt; &#39;nagios&#39;,
group =&gt; &#39;nagios&#39;,
mode =&gt; &#39;0640&#39;,
contacts =&gt; $pt_target_contacts,
}
}
} }
}</pre> }</pre>
</td> </td>