added servicegroup control
This commit is contained in:
@@ -54,13 +54,13 @@ class cd_nagios::server::service (
|
||||
notify => Service ['nagios'],
|
||||
}
|
||||
|
||||
@@nagios_service { "check_nagios_localhost":
|
||||
check_command => 'check_nagios!/var/log/nagios/status.dat!5!/usr/sbin/nagios',
|
||||
@@nagios_service { 'check_nagios_localhost':
|
||||
check_command => $ng_nagios_service_cmd,
|
||||
use => 'generic-service',
|
||||
host_name => 'localhost',
|
||||
notification_period => '24x7',
|
||||
service_description => 'localhost_nagios_service',
|
||||
target => $ng_target_service,
|
||||
service_description => 'localhost_nagios_service',
|
||||
target => $ng_target_service,
|
||||
owner => $ng_user,
|
||||
group => $ng_user,
|
||||
mode => '0640',
|
||||
|
||||
Reference in New Issue
Block a user