OP#436 chanhe check for nagios
This commit is contained in:
@@ -44,7 +44,7 @@ class confdroid_nagios::server::service (
|
||||
}
|
||||
|
||||
@@nagios_service { 'check_nagios_localhost':
|
||||
check_command => $ng_service_cmd,
|
||||
check_command => 'check-nagios',
|
||||
use => 'generic-service',
|
||||
host_name => 'localhost',
|
||||
notification_period => '24x7',
|
||||
|
||||
@@ -23,15 +23,6 @@ log_file=<%= @ng_log_file %>
|
||||
# Definitions for monitoring a network printer
|
||||
#cfg_file=/etc/nagios/objects/printer.cfg
|
||||
|
||||
|
||||
# You can also tell Nagios to process all config files (with a .cfg
|
||||
# extension) in a particular directory by using the cfg_dir
|
||||
# directive as shown below:
|
||||
|
||||
#cfg_dir=/etc/nagios/servers
|
||||
#cfg_dir=/etc/nagios/printers
|
||||
#cfg_dir=/etc/nagios/switches
|
||||
#cfg_dir=/etc/nagios/routers
|
||||
cfg_dir=<%= @ng_conf_d_dir %>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user