Recommit for updates in build 202
This commit is contained in:
@@ -296,7 +296,7 @@ class confdroid_nagios::server::nagios (
|
|||||||
@@nagios_service { 'check_nagios_localhost':
|
@@nagios_service { 'check_nagios_localhost':
|
||||||
check_command => "check_nagios!${ng_spool_dir}/status.dat!5!/usr/sbin/nagios",
|
check_command => "check_nagios!${ng_spool_dir}/status.dat!5!/usr/sbin/nagios",
|
||||||
use => 'generic-service',
|
use => 'generic-service',
|
||||||
host_name => 'localhost',
|
host_name => "localhost_${fqdn}",
|
||||||
notification_period => '24x7',
|
notification_period => '24x7',
|
||||||
service_description => 'localhost_nagios_service',
|
service_description => 'localhost_nagios_service',
|
||||||
target => $ng_target_service,
|
target => $ng_target_service,
|
||||||
@@ -311,7 +311,7 @@ class confdroid_nagios::server::nagios (
|
|||||||
ensure => $ng_disk_ensure,
|
ensure => $ng_disk_ensure,
|
||||||
check_command => "check_nrpe!check_disk!${ng_disk_warn}!${ng_disk_crit}!/",
|
check_command => "check_nrpe!check_disk!${ng_disk_warn}!${ng_disk_crit}!/",
|
||||||
use => 'generic-service',
|
use => 'generic-service',
|
||||||
host_name => 'localhost',
|
host_name => "localhost_${fqdn}",
|
||||||
contacts => $ng_contact_name,
|
contacts => $ng_contact_name,
|
||||||
notification_period => '24x7',
|
notification_period => '24x7',
|
||||||
service_description => 'localhost_root_partition',
|
service_description => 'localhost_root_partition',
|
||||||
@@ -328,7 +328,7 @@ class confdroid_nagios::server::nagios (
|
|||||||
ensure => $ng_swap_ensure,
|
ensure => $ng_swap_ensure,
|
||||||
check_command => "check_nrpe!check_swap!${ng_swap_warn}!${ng_swap_crit}",
|
check_command => "check_nrpe!check_swap!${ng_swap_warn}!${ng_swap_crit}",
|
||||||
use => 'generic-service',
|
use => 'generic-service',
|
||||||
host_name => 'localhost',
|
host_name => "localhost_${fqdn}",
|
||||||
contacts => $ng_contact_name,
|
contacts => $ng_contact_name,
|
||||||
notification_period => '24x7',
|
notification_period => '24x7',
|
||||||
service_description => 'localhost_swap_usage',
|
service_description => 'localhost_swap_usage',
|
||||||
@@ -345,7 +345,7 @@ class confdroid_nagios::server::nagios (
|
|||||||
ensure => $ng_users_ensure,
|
ensure => $ng_users_ensure,
|
||||||
check_command => "check_nrpe!check_users!${ng_users_warn}!${ng_users_crit}",
|
check_command => "check_nrpe!check_users!${ng_users_warn}!${ng_users_crit}",
|
||||||
use => 'generic-service',
|
use => 'generic-service',
|
||||||
host_name => 'localhost',
|
host_name => "localhost_${fqdn}",
|
||||||
contacts => $ng_contact_name,
|
contacts => $ng_contact_name,
|
||||||
notification_period => '24x7',
|
notification_period => '24x7',
|
||||||
service_description => 'localhost_local_users',
|
service_description => 'localhost_local_users',
|
||||||
@@ -361,7 +361,7 @@ class confdroid_nagios::server::nagios (
|
|||||||
ensure => $ng_procs_tot_ensure,
|
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 => 'localhost',
|
host_name => "localhost_${fqdn}",
|
||||||
contacts => $ng_contact_name,
|
contacts => $ng_contact_name,
|
||||||
notification_period => '24x7',
|
notification_period => '24x7',
|
||||||
service_description => 'localhost_total_processes',
|
service_description => 'localhost_total_processes',
|
||||||
@@ -377,7 +377,7 @@ class confdroid_nagios::server::nagios (
|
|||||||
ensure => $ng_procs_z_ensure,
|
ensure => $ng_procs_z_ensure,
|
||||||
check_command => "check_nrpe!check_procs!${ng_procs_z_warn}!${ng_procs_z_crit}!${ng_procs_z_param}",
|
check_command => "check_nrpe!check_procs!${ng_procs_z_warn}!${ng_procs_z_crit}!${ng_procs_z_param}",
|
||||||
use => 'generic-service',
|
use => 'generic-service',
|
||||||
host_name => 'localhost',
|
host_name => "localhost_${fqdn}",
|
||||||
contacts => $ng_contact_name,
|
contacts => $ng_contact_name,
|
||||||
notification_period => '24x7',
|
notification_period => '24x7',
|
||||||
service_description => 'localhost_zombie_processes',
|
service_description => 'localhost_zombie_processes',
|
||||||
@@ -393,7 +393,7 @@ class confdroid_nagios::server::nagios (
|
|||||||
ensure => $ng_load_ensure,
|
ensure => $ng_load_ensure,
|
||||||
check_command => "check_nrpe!check_load!${ng_load_warn}!${ng_load_crit}",
|
check_command => "check_nrpe!check_load!${ng_load_warn}!${ng_load_crit}",
|
||||||
use => 'generic-service',
|
use => 'generic-service',
|
||||||
host_name => 'localhost',
|
host_name => "localhost_${fqdn}",
|
||||||
contacts => $ng_contact_name,
|
contacts => $ng_contact_name,
|
||||||
notification_period => '24x7',
|
notification_period => '24x7',
|
||||||
service_description => 'localhost_current_load',
|
service_description => 'localhost_current_load',
|
||||||
|
|||||||
Reference in New Issue
Block a user