added servicegroup control

This commit is contained in:
Arne Teuke
2017-07-27 14:22:11 +01:00
parent 25a31ffc1b
commit ab8b3878e7
11 changed files with 208 additions and 19 deletions

View File

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