From 2322a90cac1e4ec08350310474d461650e5fe54f Mon Sep 17 00:00:00 2001 From: Frank Lee Date: Mon, 29 Feb 2016 14:48:18 +0900 Subject: [PATCH] fix boolean for monitor_coretemp and collectd_forward_to_logstash --- templates/collectd.conf.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/collectd.conf.j2 b/templates/collectd.conf.j2 index 0114306..66d05dd 100644 --- a/templates/collectd.conf.j2 +++ b/templates/collectd.conf.j2 @@ -82,7 +82,7 @@ LoadPlugin interface IgnoreSelected true -{% if monitor_coretemp %} +{% if monitor_coretemp|bool %} Exec nobody "/opt/collectd-exec-modules/collectd-coretemp.sh" @@ -105,7 +105,7 @@ LoadPlugin rrdtool LoadPlugin network - {% if collectd_forwarder is defined and collectd_forward_to_logstash %} + {% if collectd_forwarder is defined and collectd_forward_to_logstash|bool %} Interface "{{ private_interface }}"