diff --git a/manifests/params.pp b/manifests/params.pp index b6db937..b2d7ebf 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -57,7 +57,7 @@ # command with total processes. Default is '400'. # @param [String] ng_procs_tot_param The parameters for the check_procs command # with total processes. Default is 'RDST'. -# @param [String] ng_procs_tot_ens The ensure value for the check_procs +# @param [String] ng_procs_tot_ensure The ensure value for the check_procs # command with total processes. Default is 'present'. # @param [String] ng_procs_z_warn The warning threshold for the check_procs # command with zombie processes. Default is '10'. diff --git a/manifests/server/service.pp b/manifests/server/service.pp index 79259bc..715b2de 100644 --- a/manifests/server/service.pp +++ b/manifests/server/service.pp @@ -104,7 +104,7 @@ class confdroid_nagios::server::service ( } @@nagios_service { 'Total_Processes_localhost': - 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}", use => 'generic-service', host_name => 'localhost',