Module: check_mk
Branch: master
Commit: 1cb127801176f34fda3b46bd701213b4b94ed29c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=1cb127801176f3…
Author: Tom Baerwinkel <tb(a)mathias-kettner.de>
Date: Wed Mar 6 15:14:41 2019 +0100
7064 cpu.threads: now returns the percentage of threads used
The check cpu.threads is now able to return the percentage of threads
used on linux systems. To use this feature the check_mk_agent has to
be updated. Levels for the thread usage can be defined in WATO.
Change-Id: I7238a0e78b8434e17c0ce927205e1ae31cead9ec
---
.werks/7064 | 12 ++++++
agents/check_mk_agent.linux | 3 ++
checks/cpu | 48 ++++++++++++++++------
cmk/gui/plugins/metrics/check_mk.py | 12 ++++++
cmk/gui/plugins/wato/check_parameters/threads.py | 36 ++++++++++++----
pnp-templates/check_mk-cpu.threads.php | 44 --------------------
.../generictests/datasets/cpu_1_regression.py | 37 +++++++++++++++++
.../generictests/datasets/cpu_2_regression.py | 36 ++++++++++++++++
8 files changed, 163 insertions(+), 65 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=1cb1278011…