From 520c382e666d27040939264e656f0d5c566f81ad Mon Sep 17 00:00:00 2001 From: Facundo Guerrero Date: Sat, 29 Nov 2014 18:24:45 -0300 Subject: [PATCH] Add "" to Hostname Hostname should be in "" , if not collectd will take the hostname using the gethostname system call. --- templates/collectd.conf.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/collectd.conf.erb b/templates/collectd.conf.erb index 3128790ce..281bb7fb7 100644 --- a/templates/collectd.conf.erb +++ b/templates/collectd.conf.erb @@ -1,6 +1,6 @@ # Generated by Puppet <% unless @fqdnlookup %> -Hostname <%= @collectd_hostname %> +Hostname "<%= @collectd_hostname %>" FQDNLookup false <% else %> #Hostname localhost