From b076c165783a04fd1d17a58f37ad4fe4e0d6c280 Mon Sep 17 00:00:00 2001 From: Nicolas Rodriguez Date: Sat, 20 Apr 2019 13:14:13 +0200 Subject: [PATCH] Add Auth key in redis_config --- collectd/files/redis_info.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/collectd/files/redis_info.conf b/collectd/files/redis_info.conf index b23f7c5..ebf4477 100644 --- a/collectd/files/redis_info.conf +++ b/collectd/files/redis_info.conf @@ -17,6 +17,9 @@ Host {{ collectd_settings.plugins.redis_info.host }} Port {{ collectd_settings.plugins.redis_info.port }} + {%- if collectd_settings.plugins.redis_info.auth is defined %} + Auth "{{ collectd_settings.plugins.redis_info.auth }}" + {%- endif %} Verbose {{ collectd_settings.plugins.redis_info.verbose }} # Catch Redis metrics (prefix with Redis_)