Module: check_mk
Branch: master
Commit: cc257c13524cde692318c77e3deb4fd95e04f9b8
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=cc257c13524cde…
Author: Goetz Golla <gg(a)mathias-kettner.de>
Date: Thu Jun 11 18:18:53 2015 +0200
datapower_mem: units corrected
---
checks/datapower_mem | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/checks/datapower_mem b/checks/datapower_mem
index 3f27ac3..89d3407 100644
--- a/checks/datapower_mem
+++ b/checks/datapower_mem
@@ -34,10 +34,10 @@ def inventory_datapower_mem(info):
def check_datapower_mem(_no_item, params, info):
- mem_total_kb = int(info[0][0])
- mem_used_kb = int(info[0][1])
+ mem_total_bytes = int(info[0][0]) * 1024
+ mem_used_bytes = int(info[0][1]) * 1024
- return check_memory_simple(mem_used_kb, mem_total_kb, params)
+ return check_memory_simple(mem_used_bytes, mem_total_bytes, params)
check_info['datapower_mem'] = {