Recommit for updates in build 126
This commit is contained in:
@@ -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 => '0640',
|
mode => '0640',
|
||||||
check_command => "check_ping!${ng_ping_warn}!${ng_ping_crit}",
|
check_command => "check_ping!${ng_ping_warn}!${ng_ping_crit}",
|
||||||
notify => Service[$ng_service],
|
notify => Service[$ng_service],
|
||||||
|
purge => $ng_purge_target,
|
||||||
}
|
}
|
||||||
|
|
||||||
@@nagios_service { "root_partition_${fqdn}":
|
@@nagios_service { "root_partition_${fqdn}":
|
||||||
@@ -253,6 +261,7 @@ class confdroid_nagios::client::target (
|
|||||||
owner => 'nagios',
|
owner => 'nagios',
|
||||||
group => 'nagios',
|
group => 'nagios',
|
||||||
mode => '0640',
|
mode => '0640',
|
||||||
|
purge => $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 => 'nagios',
|
owner => 'nagios',
|
||||||
group => 'nagios',
|
group => 'nagios',
|
||||||
mode => '0640',
|
mode => '0640',
|
||||||
|
purge => $ng_purge_target,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -285,6 +295,7 @@ class confdroid_nagios::client::target (
|
|||||||
owner => 'nagios',
|
owner => 'nagios',
|
||||||
group => 'nagios',
|
group => 'nagios',
|
||||||
mode => '0640',
|
mode => '0640',
|
||||||
|
purge => $ng_purge_target,
|
||||||
}
|
}
|
||||||
|
|
||||||
@@nagios_service { "Total Processes_${fqdn}":
|
@@nagios_service { "Total Processes_${fqdn}":
|
||||||
@@ -300,6 +311,7 @@ class confdroid_nagios::client::target (
|
|||||||
owner => 'nagios',
|
owner => 'nagios',
|
||||||
group => 'nagios',
|
group => 'nagios',
|
||||||
mode => '0640',
|
mode => '0640',
|
||||||
|
purge => $ng_purge_target,
|
||||||
}
|
}
|
||||||
|
|
||||||
@@nagios_service { "Zombie Processes_${fqdn}":
|
@@nagios_service { "Zombie Processes_${fqdn}":
|
||||||
@@ -315,6 +327,7 @@ class confdroid_nagios::client::target (
|
|||||||
owner => 'nagios',
|
owner => 'nagios',
|
||||||
group => 'nagios',
|
group => 'nagios',
|
||||||
mode => '0640',
|
mode => '0640',
|
||||||
|
purge => $ng_purge_target,
|
||||||
}
|
}
|
||||||
|
|
||||||
@@nagios_service { "Current_Load_${fqdn}":
|
@@nagios_service { "Current_Load_${fqdn}":
|
||||||
@@ -330,6 +343,7 @@ class confdroid_nagios::client::target (
|
|||||||
owner => 'nagios',
|
owner => 'nagios',
|
||||||
group => 'nagios',
|
group => 'nagios',
|
||||||
mode => '0640',
|
mode => '0640',
|
||||||
|
purge => $ng_purge_target,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}</pre>
|
}</pre>
|
||||||
|
|||||||
@@ -989,6 +989,24 @@ inherited by all classes except defines.
|
|||||||
—
|
—
|
||||||
<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>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<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 = '1',
|
String $ng_check_ext_commands = '1',
|
||||||
String $ng_user = 'nagios',
|
String $ng_user = 'nagios',
|
||||||
Boolean $ng_enable_target = true,
|
Boolean $ng_enable_target = true,
|
||||||
|
Boolean $ng_purge_target = true,
|
||||||
|
|
||||||
# contact groups
|
# contact groups
|
||||||
String $ng_contactgroup_name = 'admins',
|
String $ng_contactgroup_name = 'admins',
|
||||||
|
|||||||
Reference in New Issue
Block a user