Module: check_mk
Branch: master
Commit: ac70750170dcc79bf0722e18c1da7032c26f9946
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ac70750170dcc7…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Thu Oct 8 11:07:26 2015 +0200
fixed ucd_mem check: length of info must at least 2
---
checks/ucd_mem | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/ucd_mem b/checks/ucd_mem
index 1a43b93..f26ebfc 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) > 0:
+ if len(info) > 1:
for line in info[0]:
if line == "":
return []