Module: check_mk
Branch: master
Commit: 06028f8d1802155bb06e7251eda42a11626af9a9
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=06028f8d180215…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Dec 17 13:12:05 2013 +0100
Updated bug entries #2099
---
.bugs/2099 | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/.bugs/2099 b/.bugs/2099
new file mode 100644
index 0000000..0436b86
--- /dev/null
+++ b/.bugs/2099
@@ -0,0 +1,23 @@
+Title: ps check outputs wrong cpu usage
+Component: checks
+State: open
+Date: 2013-12-17 13:10:37
+Targetversion: 1.2.4
+Class: bug
+
+The check uses the average cpu usage since start of the process:
+
+
+***
+ CODE HEADER DESCRIPTION
+
+ %cpu %CPU cpu utilization of the process in "##.#" format.
+ Currently, it is the CPU time used divided by the
+ time the process has been running
+ (cputime/realtime ratio), expressed as a
+ percentage. It will not add up to 100% unless
+ you are lucky. (alias pcpu).
+***
+
+This is totally wrong. Better would be to use the raw counter values from ps and
+keep an eye on the counters on our own.