Recommit for updates in build 126
This commit is contained in:
@@ -214,7 +214,14 @@
|
||||
116
|
||||
117
|
||||
118
|
||||
119</pre>
|
||||
119
|
||||
120
|
||||
121
|
||||
122
|
||||
123
|
||||
124
|
||||
125
|
||||
126</pre>
|
||||
</td>
|
||||
<td>
|
||||
<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',
|
||||
check_command => "check_ping!${ng_ping_warn}!${ng_ping_crit}",
|
||||
notify => Service[$ng_service],
|
||||
purge => $ng_purge_target,
|
||||
}
|
||||
|
||||
@@nagios_service { "root_partition_${fqdn}":
|
||||
@@ -253,6 +261,7 @@ class confdroid_nagios::client::target (
|
||||
owner => 'nagios',
|
||||
group => 'nagios',
|
||||
mode => '0640',
|
||||
purge => $ng_purge_target,
|
||||
}
|
||||
|
||||
if $ng_enable_swap_check == true {
|
||||
@@ -269,6 +278,7 @@ class confdroid_nagios::client::target (
|
||||
owner => 'nagios',
|
||||
group => 'nagios',
|
||||
mode => '0640',
|
||||
purge => $ng_purge_target,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -285,6 +295,7 @@ class confdroid_nagios::client::target (
|
||||
owner => 'nagios',
|
||||
group => 'nagios',
|
||||
mode => '0640',
|
||||
purge => $ng_purge_target,
|
||||
}
|
||||
|
||||
@@nagios_service { "Total Processes_${fqdn}":
|
||||
@@ -300,6 +311,7 @@ class confdroid_nagios::client::target (
|
||||
owner => 'nagios',
|
||||
group => 'nagios',
|
||||
mode => '0640',
|
||||
purge => $ng_purge_target,
|
||||
}
|
||||
|
||||
@@nagios_service { "Zombie Processes_${fqdn}":
|
||||
@@ -315,6 +327,7 @@ class confdroid_nagios::client::target (
|
||||
owner => 'nagios',
|
||||
group => 'nagios',
|
||||
mode => '0640',
|
||||
purge => $ng_purge_target,
|
||||
}
|
||||
|
||||
@@nagios_service { "Current_Load_${fqdn}":
|
||||
@@ -330,6 +343,7 @@ class confdroid_nagios::client::target (
|
||||
owner => 'nagios',
|
||||
group => 'nagios',
|
||||
mode => '0640',
|
||||
purge => $ng_purge_target,
|
||||
}
|
||||
}
|
||||
}</pre>
|
||||
|
||||
@@ -989,6 +989,24 @@ inherited by all classes except defines.
|
||||
—
|
||||
<div class='inline'>
|
||||
<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>
|
||||
|
||||
</li>
|
||||
@@ -1004,8 +1022,6 @@ inherited by all classes except defines.
|
||||
<pre class="lines">
|
||||
|
||||
|
||||
107
|
||||
108
|
||||
109
|
||||
110
|
||||
111
|
||||
@@ -1176,10 +1192,13 @@ inherited by all classes except defines.
|
||||
276
|
||||
277
|
||||
278
|
||||
279</pre>
|
||||
279
|
||||
280
|
||||
281
|
||||
282</pre>
|
||||
</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 (
|
||||
|
||||
@@ -1196,6 +1215,7 @@ class confdroid_nagios::params (
|
||||
String $ng_check_ext_commands = '1',
|
||||
String $ng_user = 'nagios',
|
||||
Boolean $ng_enable_target = true,
|
||||
Boolean $ng_purge_target = true,
|
||||
|
||||
# contact groups
|
||||
String $ng_contactgroup_name = 'admins',
|
||||
|
||||
Reference in New Issue
Block a user