Recommit for updates in build 221

This commit is contained in:
Jenkins Server
2026-03-12 12:19:18 +01:00
parent 9a43c52e84
commit ce1c5a09e5

View File

@@ -267,7 +267,24 @@
169
170
171
172</pre>
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'manifests/server/nagios.pp', line 6</span>
@@ -276,6 +293,23 @@ class confdroid_nagios::server::nagios (
) inherits confdroid_nagios::params {
if $ng_nagios_server == $fqdn {
@@nagios_host { &quot;localhost_${fqdn}&quot;:
ensure =&gt; $ng_ping_ensure,
alias =&gt; &#39;localhost&#39;,
address =&gt; &#39;127.0.0.1&#39;,
use =&gt; &#39;linux-server&#39;,
target =&gt; $ng_target_localhost,
hostgroups =&gt; &#39;linux-servers&#39;,
contacts =&gt; $ng_contact_name,
max_check_attempts =&gt; $ng_max_check_attempts,
notification_period =&gt; &#39;24x7&#39;,
owner =&gt; $ng_user,
group =&gt; $ng_user,
mode =&gt; &#39;0640&#39;,
check_command =&gt; &quot;check_ping!${ng_ping_warn}!${ng_ping_crit}&quot;,
notify =&gt; Service[$ng_service],
}
@@nagios_host { $fqdn:
ensure =&gt; $ng_ping_ensure,
alias =&gt; &#39;nag001&#39;,