Module: check_mk
Branch: master
Commit: 2047adf3d754789170378440d618db37425eb753
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2047adf3d75478…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Jan 18 11:38:59 2016 +0100
Fixed exception in ps check when receiving non extended perfdata from agent
---
checks/ps.include | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/ps.include b/checks/ps.include
index 5577347..f21bbf0 100644
--- a/checks/ps.include
+++ b/checks/ps.include
@@ -335,7 +335,7 @@ def ps_cleanup_params(params):
def ps_has_extended_perfdata(process_info):
- return len(process_info) >= 4
+ return len(process_info) > 4
def check_ps_common(item, params, parsed, cpu_cores = 1, info_name =
"processes", total_ram = None):