Recommit for updates in build 205

This commit is contained in:
Jenkins Server
2026-03-11 15:07:56 +01:00
parent cd45ebc29e
commit 8294b924a6

View File

@@ -267,7 +267,24 @@
169 169
170 170
171 171
172</pre> 172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189</pre>
</td> </td>
<td> <td>
<pre class="code"><span class="info file"># File 'manifests/server/nagios.pp', line 6</span> <pre class="code"><span class="info file"># File 'manifests/server/nagios.pp', line 6</span>
@@ -293,6 +310,23 @@ class confdroid_nagios::server::nagios (
notify =&gt; Service[$ng_service], notify =&gt; Service[$ng_service],
} }
@@nagios_host { $fqdn:
ensure =&gt; $ng_ping_ensure,
alias =&gt; $hostname,
address =&gt; $fqdn,
use =&gt; &#39;linux-server&#39;,
target =&gt; $ng_target_host,
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_service { &#39;check_nagios_localhost&#39;: @@nagios_service { &#39;check_nagios_localhost&#39;:
check_command =&gt; &quot;check_nagios!${ng_spool_dir}/status.dat!5!/usr/sbin/nagios&quot;, check_command =&gt; &quot;check_nagios!${ng_spool_dir}/status.dat!5!/usr/sbin/nagios&quot;,
use =&gt; &#39;generic-service&#39;, use =&gt; &#39;generic-service&#39;,