Recommit for updates in build 126

This commit is contained in:
Jenkins Server
2026-03-02 01:38:25 +01:00
parent 6d551e75e6
commit 807a76efbe
2 changed files with 39 additions and 5 deletions

View File

@@ -214,7 +214,14 @@
116 116
117 117
118 118
119</pre> 119
120
121
122
123
124
125
126</pre>
</td> </td>
<td> <td>
<pre class="code"><span class="info file"># File 'manifests/client/target.pp', line 6</span> <pre class="code"><span class="info file"># File 'manifests/client/target.pp', line 6</span>
@@ -238,6 +245,7 @@ class confdroid_nagios::client::target (
mode =&gt; &#39;0640&#39;, mode =&gt; &#39;0640&#39;,
check_command =&gt; &quot;check_ping!${ng_ping_warn}!${ng_ping_crit}&quot;, check_command =&gt; &quot;check_ping!${ng_ping_warn}!${ng_ping_crit}&quot;,
notify =&gt; Service[$ng_service], notify =&gt; Service[$ng_service],
purge =&gt; $ng_purge_target,
} }
@@nagios_service { &quot;root_partition_${fqdn}&quot;: @@nagios_service { &quot;root_partition_${fqdn}&quot;:
@@ -253,6 +261,7 @@ class confdroid_nagios::client::target (
owner =&gt; &#39;nagios&#39;, owner =&gt; &#39;nagios&#39;,
group =&gt; &#39;nagios&#39;, group =&gt; &#39;nagios&#39;,
mode =&gt; &#39;0640&#39;, mode =&gt; &#39;0640&#39;,
purge =&gt; $ng_purge_target,
} }
if $ng_enable_swap_check == true { if $ng_enable_swap_check == true {
@@ -269,6 +278,7 @@ class confdroid_nagios::client::target (
owner =&gt; &#39;nagios&#39;, owner =&gt; &#39;nagios&#39;,
group =&gt; &#39;nagios&#39;, group =&gt; &#39;nagios&#39;,
mode =&gt; &#39;0640&#39;, mode =&gt; &#39;0640&#39;,
purge =&gt; $ng_purge_target,
} }
} }
@@ -285,6 +295,7 @@ class confdroid_nagios::client::target (
owner =&gt; &#39;nagios&#39;, owner =&gt; &#39;nagios&#39;,
group =&gt; &#39;nagios&#39;, group =&gt; &#39;nagios&#39;,
mode =&gt; &#39;0640&#39;, mode =&gt; &#39;0640&#39;,
purge =&gt; $ng_purge_target,
} }
@@nagios_service { &quot;Total Processes_${fqdn}&quot;: @@nagios_service { &quot;Total Processes_${fqdn}&quot;:
@@ -300,6 +311,7 @@ class confdroid_nagios::client::target (
owner =&gt; &#39;nagios&#39;, owner =&gt; &#39;nagios&#39;,
group =&gt; &#39;nagios&#39;, group =&gt; &#39;nagios&#39;,
mode =&gt; &#39;0640&#39;, mode =&gt; &#39;0640&#39;,
purge =&gt; $ng_purge_target,
} }
@@nagios_service { &quot;Zombie Processes_${fqdn}&quot;: @@nagios_service { &quot;Zombie Processes_${fqdn}&quot;:
@@ -315,6 +327,7 @@ class confdroid_nagios::client::target (
owner =&gt; &#39;nagios&#39;, owner =&gt; &#39;nagios&#39;,
group =&gt; &#39;nagios&#39;, group =&gt; &#39;nagios&#39;,
mode =&gt; &#39;0640&#39;, mode =&gt; &#39;0640&#39;,
purge =&gt; $ng_purge_target,
} }
@@nagios_service { &quot;Current_Load_${fqdn}&quot;: @@nagios_service { &quot;Current_Load_${fqdn}&quot;:
@@ -330,6 +343,7 @@ class confdroid_nagios::client::target (
owner =&gt; &#39;nagios&#39;, owner =&gt; &#39;nagios&#39;,
group =&gt; &#39;nagios&#39;, group =&gt; &#39;nagios&#39;,
mode =&gt; &#39;0640&#39;, mode =&gt; &#39;0640&#39;,
purge =&gt; $ng_purge_target,
} }
} }
}</pre> }</pre>

View File

@@ -989,6 +989,24 @@ inherited by all classes except defines.
&mdash; &mdash;
<div class='inline'> <div class='inline'>
<p>The members of the default contact group. Default is nagiosadmin.</p> <p>The members of the default contact group. Default is nagiosadmin.</p>
</div>
</li>
<li>
<span class='name'>ng_purge_target</span>
<span class='type'>(<tt>Boolean</tt>)</span>
<em class="default">(defaults to: <tt>true</tt>)</em>
&mdash;
<div class='inline'>
<p>Whether to purge unmanaged host and services configuration files. Default is true.</p>
</div> </div>
</li> </li>
@@ -1004,8 +1022,6 @@ inherited by all classes except defines.
<pre class="lines"> <pre class="lines">
107
108
109 109
110 110
111 111
@@ -1176,10 +1192,13 @@ inherited by all classes except defines.
276 276
277 277
278 278
279</pre> 279
280
281
282</pre>
</td> </td>
<td> <td>
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 107</span> <pre class="code"><span class="info file"># File 'manifests/params.pp', line 109</span>
class confdroid_nagios::params ( class confdroid_nagios::params (
@@ -1196,6 +1215,7 @@ class confdroid_nagios::params (
String $ng_check_ext_commands = &#39;1&#39;, String $ng_check_ext_commands = &#39;1&#39;,
String $ng_user = &#39;nagios&#39;, String $ng_user = &#39;nagios&#39;,
Boolean $ng_enable_target = true, Boolean $ng_enable_target = true,
Boolean $ng_purge_target = true,
# contact groups # contact groups
String $ng_contactgroup_name = &#39;admins&#39;, String $ng_contactgroup_name = &#39;admins&#39;,