Module: check_mk
Branch: master
Commit: ca833488b6c6aca367f7a8fa9d5ba2fb769ba0e1
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ca833488b6c6ac…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Sep 18 14:39:25 2014 +0200
#1403 kernel.util: allow levels for the total CPU utilization
The CPU utilization check for Linux only allowed to set levels for the disk
wait percentage. The parameters have been converted to a dictionary and
now allow to set levels on the total CPU utilization as well.
Please note: if you have defined the variable {kernel_util_default_levels} in
your {main.mk}, then you need to convert this to a dictionary - otherwise it
will be ignored. Instead of
F+:main.mk
kernel_util_default_levels = (10, 20)
F-:
... please now write...:
F+:main.mk
kernel_util_default_levels = { "iowait" : (10, 20) }
F-:
Users of WATO are not affected by this and do not need to change anything.
---
.werks/1403 | 26 +++++++++++++
ChangeLog | 2 +
checkman/kernel.util | 19 +++++----
checks/kernel | 70 ++++++++++++++++++++++------------
web/plugins/wato/check_parameters.py | 53 +++++++++++++++++--------
5 files changed, 121 insertions(+), 49 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=ca833488b6…