Module: check_mk
Branch: master
Commit: 85e1be9ece6057a6a33891095314d52a54885108
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=85e1be9ece6057…
Author: Marcel Arentz <ma(a)mathias-kettner.de>
Date: Fri May 5 14:09:02 2017 +0200
and removed useless print
Change-Id: I9065e8ced42890e63ae92942c13c64a5b05724a1
---
checks/mysql_capacity | 4 ----
1 file changed, 4 deletions(-)
diff --git a/checks/mysql_capacity b/checks/mysql_capacity
index b443389..818bba7 100644
--- a/checks/mysql_capacity
+++ b/checks/mysql_capacity
@@ -46,7 +46,6 @@ def parse_mysql_capacity(info):
name = " ".join(line[:-2])
size = line[-2]
avail = line[-1]
-
return name, size, avail
parsed = {}
@@ -70,9 +69,6 @@ def parse_mysql_capacity(info):
def inventory_mysql_size(parsed):
for instance, values in parsed.items():
- for line in values:
- if len(line) == 4:
- print line
for dbname, used, avail in values:
if dbname not in [ "information_schema", "mysql",
"performance_schema" ] \
and used != 'NULL' and avail != 'NULL':