Merge pull request #34 from tcpcloud/doc
documentation rendering fix
diff --git a/collectd/files/backend/http.conf b/collectd/files/backend/http.conf
index 752df40..8787dbc 100644
--- a/collectd/files/backend/http.conf
+++ b/collectd/files/backend/http.conf
@@ -6,5 +6,8 @@
<URL "http://{{ backend.host }}:{{ backend.port }}">
Format "{{ backend.get('format', 'json')|upper }}"
StoreRates {{ backend.get('store_rates', True)|lower }}
+{%- if backend.timeout is defined %}
+ Timeout {{ backend.timeout }}
+{%- endif %}
</URL>
</Plugin>
diff --git a/collectd/files/collectd.conf b/collectd/files/collectd.conf
index d815eb1..0a64b0f 100644
--- a/collectd/files/collectd.conf
+++ b/collectd/files/collectd.conf
@@ -36,6 +36,9 @@
#Timeout 2
#ReadThreads 5
+{%- if client.read_threads is defined %}
+ReadThreads {{ client.read_threads }}
+{%- endif %}
##############################################################################
# Logging #
diff --git a/metadata/service/remote_client/cluster.yml b/metadata/service/remote_client/cluster.yml
index b340e79..b1d8d34 100644
--- a/metadata/service/remote_client/cluster.yml
+++ b/metadata/service/remote_client/cluster.yml
@@ -7,5 +7,6 @@
remote_client:
enabled: true
read_interval: 10
+ read_threads: 10
use_fqdn: false
automatic_starting: false
diff --git a/metadata/service/remote_client/single.yml b/metadata/service/remote_client/single.yml
index 81062b4..297912a 100644
--- a/metadata/service/remote_client/single.yml
+++ b/metadata/service/remote_client/single.yml
@@ -7,5 +7,6 @@
remote_client:
enabled: true
read_interval: 10
+ read_threads: 10
use_fqdn: false
automatic_starting: true