added _ to service name

This commit is contained in:
Arne Teuke
2017-07-27 12:58:30 +01:00
parent 7b27896ccb
commit 842d86a504
2 changed files with 7 additions and 1 deletions

View File

@@ -37,7 +37,7 @@ class cd_nagios::server::service (
enable => true,
}
@@nagios_service { "check_nagios${::hostname}":
@@nagios_service { "check_nagios_${::hostname}":
check_command => 'check_nagios!/var/log/nagios/status.dat!5!/usr/sbin/nagios',
use => 'generic-service',
host_name => $::fqdn,