OP#436 mv client installs
This commit is contained in:
@@ -7,6 +7,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,
|
||||||
@@ -72,7 +76,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