OP#436 chanhe check for nagios

This commit is contained in:
2026-03-06 12:04:36 +01:00
parent 783ad9c4e7
commit c0182eec12
2 changed files with 1 additions and 10 deletions

View File

@@ -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',

View File

@@ -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 %>