From 793450fdde06f98ebf0ccecc16a453cbf66418b4 Mon Sep 17 00:00:00 2001
From: Chris Hines <chris.hines@monash.edu>
Date: Thu, 18 Oct 2018 15:02:48 +1100
Subject: [PATCH] add username and password to the collectd.conf

---
 roles/collectd/templates/collectd.conf.j2 | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/roles/collectd/templates/collectd.conf.j2 b/roles/collectd/templates/collectd.conf.j2
index aee0dd81..9d722189 100644
--- a/roles/collectd/templates/collectd.conf.j2
+++ b/roles/collectd/templates/collectd.conf.j2
@@ -76,6 +76,8 @@ LoadPlugin network
 </Plugin>
 <Plugin network>
     <Server "{{ collectd_server }}" "25826">
+    Username collectd
+    Password "{{ collectd_password }}"
     </Server>
 </Plugin>
 
@@ -1395,7 +1397,3 @@ LoadPlugin users
 #	Port "2181"
 #</Plugin>
 
-<Include "/etc/collectd/collectd.conf.d">
-	Filter "*.conf"
-</Include>
-
-- 
GitLab