Recommit for updates in build 195
This commit is contained in:
@@ -214,7 +214,11 @@
|
|||||||
116
|
116
|
||||||
117
|
117
|
||||||
118
|
118
|
||||||
119</pre>
|
119
|
||||||
|
120
|
||||||
|
121
|
||||||
|
122
|
||||||
|
123</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>
|
||||||
@@ -223,6 +227,10 @@ class confdroid_nagios::client::target (
|
|||||||
|
|
||||||
) inherits confdroid_nagios::params {
|
) inherits confdroid_nagios::params {
|
||||||
if ($ng_nagios_server != $fqdn) and ($ng_enable_target == true) {
|
if ($ng_nagios_server != $fqdn) and ($ng_enable_target == true) {
|
||||||
|
package { $ng_reqpackages_client:
|
||||||
|
ensure => $ng_pkg_ensure,
|
||||||
|
}
|
||||||
|
|
||||||
@@nagios_host { $fqdn:
|
@@nagios_host { $fqdn:
|
||||||
ensure => $ng_ping_ensure,
|
ensure => $ng_ping_ensure,
|
||||||
alias => $hostname,
|
alias => $hostname,
|
||||||
@@ -288,7 +296,7 @@ class confdroid_nagios::client::target (
|
|||||||
}
|
}
|
||||||
|
|
||||||
@@nagios_service { "Total Processes_${fqdn}":
|
@@nagios_service { "Total Processes_${fqdn}":
|
||||||
ensure => $ng_procs_tot_ens,
|
ensure => $ng_procs_tot_ensure,
|
||||||
check_command => "check_nrpe!check_procs!${ng_procs_tot_warn}!${ng_procs_tot_crit}!${ng_procs_tot_param}",
|
check_command => "check_nrpe!check_procs!${ng_procs_tot_warn}!${ng_procs_tot_crit}!${ng_procs_tot_param}",
|
||||||
use => 'generic-service',
|
use => 'generic-service',
|
||||||
host_name => $fqdn,
|
host_name => $fqdn,
|
||||||
|
|||||||
Reference in New Issue
Block a user