diff --git a/manifests/client/target.pp b/manifests/client/target.pp index 1197fd3..49bea8a 100644 --- a/manifests/client/target.pp +++ b/manifests/client/target.pp @@ -17,7 +17,7 @@ class confdroid_nagios::client::target ( use => 'linux-server', target => $ng_target_host, hostgroups => 'linux-servers', - contacts => 'ops', + contacts => $ng_contact_name, max_check_attempts => $ng_max_check_attempts, notification_period => '24x7', owner => 'nagios', @@ -32,7 +32,7 @@ class confdroid_nagios::client::target ( check_command => "check_nrpe!check_disk!${ng_disk_warn}!${ng_disk_crit}!/", use => 'generic-service', host_name => $fqdn, - contacts => 'ops', + contacts => $ng_contact_name, notification_period => '24x7', service_description => "${fqdn}_root_partition", servicegroups => 'linux-services', @@ -48,7 +48,7 @@ class confdroid_nagios::client::target ( check_command => "check_nrpe!check_swap!${ng_swap_warn}!${ng_swap_crit}", use => 'generic-service', host_name => $fqdn, - contacts => 'ops', + contacts => $ng_contact_name, notification_period => '24x7', service_description => "${fqdn}_swap_usage", servicegroups => 'linux-services', @@ -64,7 +64,7 @@ class confdroid_nagios::client::target ( check_command => "check_nrpe!check_users!${ng_users_warn}!${ng_users_crit}", use => 'generic-service', host_name => $fqdn, - contacts => 'ops', + contacts => $ng_contact_name, notification_period => '24x7', service_description => "${fqdn}_local_users", servicegroups => 'linux-services', @@ -79,7 +79,7 @@ class confdroid_nagios::client::target ( check_command => "check_nrpe!check_procs!${ng_procs_tot_warn}!${ng_procs_tot_crit}!${ng_procs_tot_param}", use => 'generic-service', host_name => $fqdn, - contacts => 'ops', + contacts => $ng_contact_name, notification_period => '24x7', service_description => "${fqdn}_total_processes", servicegroups => 'linux-services', @@ -94,7 +94,7 @@ class confdroid_nagios::client::target ( check_command => "check_nrpe!check_procs!${ng_procs_z_warn}!${ng_procs_z_crit}!${ng_procs_z_param}", use => 'generic-service', host_name => $fqdn, - contacts => 'ops', + contacts => $ng_contact_name, notification_period => '24x7', service_description => "${fqdn}_zombie_processes", servicegroups => 'linux-services', @@ -109,7 +109,7 @@ class confdroid_nagios::client::target ( check_command => "check_nrpe!check_load!${ng_load_warn}!${ng_load_crit}", use => 'generic-service', host_name => $fqdn, - contacts => 'ops', + contacts => $ng_contact_name, notification_period => '24x7', service_description => "${fqdn}_current_load", servicegroups => 'linux-services',