Module: check_mk
Branch: master
Commit: 91cbfcb6b71fec34c9ee83798b2d859dded1cd04
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=91cbfcb6b71fec…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Fri Oct 9 08:31:21 2015 +0200
fixed inventory function in ucd_mem check
---
checks/ucd_mem | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/ucd_mem b/checks/ucd_mem
index f26ebfc..06d9b83 100644
--- a/checks/ucd_mem
+++ b/checks/ucd_mem
@@ -35,7 +35,7 @@ factory_settings["ucd_mem_default_levels"] = {
def inventory_ucd_mem(info):
- if len(info) > 1:
+ if len(info[0]) > 1:
for line in info[0]:
if line == "":
return []