OP#436 disable local files
This commit is contained in:
@@ -33,7 +33,7 @@ class confdroid_nagios::server::service (
|
|||||||
use => 'linux-server',
|
use => 'linux-server',
|
||||||
target => $ng_target_localhost,
|
target => $ng_target_localhost,
|
||||||
hostgroups => 'linux-servers',
|
hostgroups => 'linux-servers',
|
||||||
contacts => 'ops',
|
contacts => $ng_contact_name,
|
||||||
max_check_attempts => $ng_max_check_attempts,
|
max_check_attempts => $ng_max_check_attempts,
|
||||||
notification_period => '24x7',
|
notification_period => '24x7',
|
||||||
owner => $ng_user,
|
owner => $ng_user,
|
||||||
@@ -63,7 +63,7 @@ class confdroid_nagios::server::service (
|
|||||||
use => 'linux-server',
|
use => 'linux-server',
|
||||||
target => $ng_target_host,
|
target => $ng_target_host,
|
||||||
hostgroups => 'linux-servers',
|
hostgroups => 'linux-servers',
|
||||||
contacts => 'ops',
|
contacts => $ng_contact_name,
|
||||||
max_check_attempts => $ng_max_check_attempts,
|
max_check_attempts => $ng_max_check_attempts,
|
||||||
notification_period => '24x7',
|
notification_period => '24x7',
|
||||||
owner => $ng_user,
|
owner => $ng_user,
|
||||||
@@ -78,7 +78,7 @@ class confdroid_nagios::server::service (
|
|||||||
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 => $fqdn,
|
host_name => $fqdn,
|
||||||
contacts => 'ops',
|
contacts => $ng_contact_name,
|
||||||
notification_period => '24x7',
|
notification_period => '24x7',
|
||||||
service_description => "${hostname}_root_partition",
|
service_description => "${hostname}_root_partition",
|
||||||
servicegroups => 'linux-services',
|
servicegroups => 'linux-services',
|
||||||
@@ -94,7 +94,7 @@ class confdroid_nagios::server::service (
|
|||||||
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 => $fqdn,
|
host_name => $fqdn,
|
||||||
contacts => 'ops',
|
contacts => $ng_contact_name,
|
||||||
notification_period => '24x7',
|
notification_period => '24x7',
|
||||||
service_description => "${hostname}_swap_usage",
|
service_description => "${hostname}_swap_usage",
|
||||||
servicegroups => 'linux-services',
|
servicegroups => 'linux-services',
|
||||||
@@ -110,7 +110,7 @@ class confdroid_nagios::server::service (
|
|||||||
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 => $fqdn,
|
host_name => $fqdn,
|
||||||
contacts => 'ops',
|
contacts => $ng_contact_name,
|
||||||
notification_period => '24x7',
|
notification_period => '24x7',
|
||||||
service_description => "${hostname}_local_users",
|
service_description => "${hostname}_local_users",
|
||||||
servicegroups => 'linux-services',
|
servicegroups => 'linux-services',
|
||||||
@@ -125,7 +125,7 @@ class confdroid_nagios::server::service (
|
|||||||
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,
|
||||||
contacts => 'ops',
|
contacts => $ng_contact_name,
|
||||||
notification_period => '24x7',
|
notification_period => '24x7',
|
||||||
service_description => "${hostname}_total_processes",
|
service_description => "${hostname}_total_processes",
|
||||||
servicegroups => 'linux-services',
|
servicegroups => 'linux-services',
|
||||||
@@ -140,7 +140,7 @@ class confdroid_nagios::server::service (
|
|||||||
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 => $fqdn,
|
host_name => $fqdn,
|
||||||
contacts => 'ops',
|
contacts => $ng_contact_name,
|
||||||
notification_period => '24x7',
|
notification_period => '24x7',
|
||||||
service_description => "${hostname}_zombie_processes",
|
service_description => "${hostname}_zombie_processes",
|
||||||
servicegroups => 'linux-services',
|
servicegroups => 'linux-services',
|
||||||
@@ -155,7 +155,7 @@ class confdroid_nagios::server::service (
|
|||||||
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 => $fqdn,
|
host_name => $fqdn,
|
||||||
contacts => 'ops',
|
contacts => $ng_contact_name,
|
||||||
notification_period => '24x7',
|
notification_period => '24x7',
|
||||||
service_description => "${hostname}_current_load",
|
service_description => "${hostname}_current_load",
|
||||||
servicegroups => 'linux-services',
|
servicegroups => 'linux-services',
|
||||||
|
|||||||
Reference in New Issue
Block a user