Module: check_mk
Branch: master
Commit: 938a90015b03c4d4d797736761d9e61434f79c45
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=938a90015b03c4…
Author: Moritz Kiemer <mo(a)mathias-kettner.de>
Date: Thu Feb 28 15:21:04 2019 +0100
7205 jolokia_jvm_threading: new check for JVM threads
The new check jolokia_jvm_threading is introduced. It creates the services
"JVM <instance> Threading" and optionally "JVM <instance>
ThreadPool <pool name>",
replacing the former checks jolokia_metrics.threads and jolokia_metrics.tp.
The new "JVM Threading" check now allows to set rules on the thread count as
well as on
the rate at which new threads are created. Additionally levels for the daemon threads
can be configured.
Unlike for the old check 'jolokia_metrics.threads', no default levels are imposed
on the thread count.
Users who had a rule in place for the ThreadCount metric of the old check
need to set up a new rule "JVM threading".
The "JVM ThreadPool" check applies the same rule as the previous check did
(JVM tomcat threadpool levels).
A rediscovery is required for affected hosts.
Change-Id: Ia24f460f198aa36ba66c91bf1b35da7d13ca7568
---
.werks/7205 | 24 +++
agents/plugins/mk_jolokia.py | 53 ++++--
checkman/jolokia_jvm_threading | 22 +++
checkman/jolokia_jvm_threading.pool | 20 +++
checkman/jolokia_metrics.threads | 18 +-
checkman/jolokia_metrics.tp | 16 +-
checks/jolokia_jvm_threading | 143 ++++++++++++++++
checks/jolokia_metrics | 183 ++++-----------------
.../plugins/wato/check_parameters/jvm_threading.py | 78 +++++++++
.../plugins/wato/check_parameters/jvm_threads.py | 4 +
.../datasets/jolokia_jvm_threading_regression.py | 44 +++++
11 files changed, 406 insertions(+), 199 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=938a90015b…