From 47bd69a54d89031d7d064a1068c1e35cae468d74 Mon Sep 17 00:00:00 2001 From: Dani Louca Date: Thu, 5 Nov 2020 11:52:40 -0500 Subject: [PATCH] set max split to 1 Signed-off-by: Dani Louca --- redis_info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redis_info.py b/redis_info.py index 565954c..77d0ace 100644 --- a/redis_info.py +++ b/redis_info.py @@ -74,7 +74,7 @@ def parse_info(self, info_lines): collectd.warning("redis_info plugin: Bad format for info line: %s" % line) continue - key, val = line.split(":") + key, val = line.split(":", 1) # Handle multi-value keys (for dbs and slaves). # db lines look like "db0:keys=10,expire=0"