summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 6a20259..35b4a3a 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -190,7 +190,7 @@ class nagios::target::host {
# defines
define nagios::host(
$ip = $fqdn,
- $nagios_alias = $fqdn,
+ $nagios_alias = $hostname,
$max_check_attempts = 4,
$notification_interval = 120,
$use = 'generic-host',