Module: check_mk
Branch: master
Commit: 5cdc3282f3b2ef05d9da4655bd1b5f3cffa04f40
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=5cdc3282f3b2ef…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Aug 14 14:45:51 2015 +0200
mysql_slave: Fixed bug when having multiple instances
---
checks/mysql_slave | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/mysql_slave b/checks/mysql_slave
index dd3b705..64edea4 100644
--- a/checks/mysql_slave
+++ b/checks/mysql_slave
@@ -49,7 +49,7 @@ def parse_mysql_slave(info):
for line in info:
if line[0].startswith("[["):
instance = line[0][2:-2]
- parsed[instance] = []
+ parsed[instance] = {}
elif instance:
key, value = parse_line(line)
if key: