summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2487fd5)
raw | patch | inline | side by side (parent: 2487fd5)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sat, 1 May 2010 13:22:33 +0000 (15:22 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sat, 1 May 2010 13:22:33 +0000 (15:22 +0200) |
src/collectd.conf.in | patch | blob | history | |
src/collectd.conf.pod | patch | blob | history | |
src/configfile.c | patch | blob | history |
diff --git a/src/collectd.conf.in b/src/collectd.conf.in
index c564e1f91f0d0bacb40cd6184fe6fc0f5086fccd..bf1d7a46cc155fb720d59d258309c4563938bbcc 100644 (file)
--- a/src/collectd.conf.in
+++ b/src/collectd.conf.in
##############################################################################
#Hostname "localhost"
-FQDNLookup true
+#FQDNLookup true
#BaseDir "@prefix@/var/lib/@PACKAGE_NAME@"
#PIDFile "@prefix@/var/run/@PACKAGE_NAME@.pid"
#PluginDir "@prefix@/lib/@PACKAGE_NAME@"
diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod
index 773fc36ca4d959b3d45494db686ee033a5b73d8a..9377686ab8222356d1416eb6459b2f829c978bad 100644 (file)
--- a/src/collectd.conf.pod
+++ b/src/collectd.conf.pod
If B<Hostname> is determined automatically this setting controls whether or not
the daemon should try to figure out the "fully qualified domain name", FQDN.
-This is done using a lookup of the name returned by C<gethostname>.
-
-Using this feature (i.E<nbsp>e. setting this option to B<true>) is recommended.
-However, to preserve backwards compatibility the default is set to B<false>.
-The sample config file that is installed with C<makeE<nbsp>install> includes a
-line which sets this option, though, so that default installations will have
-this setting enabled.
+This is done using a lookup of the name returned by C<gethostname>. This option
+is enabled by default.
=item B<PreCacheChain> I<ChainName>
diff --git a/src/configfile.c b/src/configfile.c
index 787ad0ea388485e247cdebb4027dec89f0218211..afc3e479a7d237603d9bb756f5b2262f83ea1adf 100644 (file)
--- a/src/configfile.c
+++ b/src/configfile.c
{"BaseDir", NULL, PKGLOCALSTATEDIR},
{"PIDFile", NULL, PIDFILE},
{"Hostname", NULL, NULL},
- {"FQDNLookup", NULL, "false"},
+ {"FQDNLookup", NULL, "true"},
{"Interval", NULL, "10"},
{"ReadThreads", NULL, "5"},
{"Timeout", NULL, "2"},