OP#410 fix hostname
This commit is contained in:
@@ -10,12 +10,12 @@ class confdroid_apache::monitoring::target (
|
||||
false: { notify { 'Nagios Service target for check_httpd has been disabled via parameters / ENC override': }
|
||||
}
|
||||
default: {
|
||||
@@nagios_service { "check_http_${::hostname}":
|
||||
@@nagios_service { "check_http_${fqdn}":
|
||||
check_command => 'check_http',
|
||||
use => 'generic-service',
|
||||
host_name => $::fqdn,
|
||||
host_name => $fqdn,
|
||||
notification_period => '24x7',
|
||||
service_description => "${::hostname}_check_http",
|
||||
service_description => "${fqdn}_check_http",
|
||||
target => $ae_target_service,
|
||||
owner => 'nagios',
|
||||
group => 'nagios',
|
||||
|
||||
Reference in New Issue
Block a user