Module: check_mk
Branch: master
Commit: dc701dfb3aac5acdfce97e06b8803d8833d0b45b
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=dc701dfb3aac5a…
Author: Moritz Kiemer <mo(a)mathias-kettner.de>
Date: Mon Jan 28 16:53:37 2019 +0100
mem: remove unused variable
Change-Id: I074b512cba50114b7a1df626b2eee05bf5ff00d1
---
checks/mem | 1 -
1 file changed, 1 deletion(-)
diff --git a/checks/mem b/checks/mem
index b512dd5..fad8250 100644
--- a/checks/mem
+++ b/checks/mem
@@ -582,7 +582,6 @@ def check_mem_windows(_no_item, params, info):
used_kb = get_average(
"mem.win.%s" % paramname, now, used_kb, average_min,
initialize_zero=False)
used_mb = used_kb / 1024.0
- free_mb = total_mb - used_mb
perc = 100.0 * used_kb / total_kb
infotext += ", %d min average: %s (%s)" % (average_min,
get_percent_human_readable(perc),