Module: check_mk
Branch: master
Commit: cce4a1a2d0e2d674913d26da1c5ea237ac1a363f
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=cce4a1a2d0e2d6…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Mar 7 09:52:23 2012 +0100
ps check - fixed bug introduced after cluster node implementation
---
checks/ps | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/checks/ps b/checks/ps
index e2ce176..784a53d 100644
--- a/checks/ps
+++ b/checks/ps
@@ -199,7 +199,7 @@ def check_procs(item, params, info, with_perfdata):
# correct number of DSes. To just look at the first process
# in the agent output to make sure. We assume that at least
# one process is always present.
- firstword = info[0][0]
+ firstword = info[0][1]
if firstword[0] == '(' and firstword.count(",") >= 3:
extended_perfdata = True
if extended_perfdata: