Module: check_mk
Branch: master
Commit: f11506c21fd036094e3d5427bd92f11f33b8b2d2
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f11506c21fd036…
Author: Tom Baerwinkel <tb(a)mathias-kettner.de>
Date: Thu Jul 13 10:36:44 2017 +0200
4810 ps.inlcude: Add levels of CPU utilization for single processes
For the rules "State and Count of Processes" and "Process Discovery"
the option "Levels on CPU utilization of a single Process" was added.
It allows to define levels on CPU utilization of a single process.
CPU Averaging will not be applied to the CPU utilization of a single
processes.
Change-Id: Ida8dfb9e2675362264c07bb23d08861a5f605e26
---
.werks/4810 | 14 ++++
checks/ps.include | 32 ++++++++-
web/plugins/wato/check_parameters.py | 135 +++++++++++++++++++----------------
3 files changed, 117 insertions(+), 64 deletions(-)
Diff: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=f11506c21f…
Module: check_mk
Branch: master
Commit: 9d0c5772f9f35b6acc48c4928767e62aff6fcba4
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=9d0c5772f9f35b…
Author: Sven Rueß <sr(a)mathias-kettner.de>
Date: Tue Jul 18 18:50:55 2017 +0200
New bugs related to distributed monitoring
Change-Id: I3ef6b214266c9f097b2c5dedf2a341e364e927c0
---
.bugs/2938 | 14 ++++++++++++++
.bugs/2939 | 14 ++++++++++++++
2 files changed, 28 insertions(+)
diff --git a/.bugs/2938 b/.bugs/2938
new file mode 100644
index 0000000..9f20ff3
--- /dev/null
+++ b/.bugs/2938
@@ -0,0 +1,14 @@
+Title: Automatic baking agents options breaks activation of changes in distributed setups
+Component: wato
+State: open
+Date: 2017-07-18 18:43:49
+Targetversion: 1.2.8
+Class: bug
+
+If the option autimatic bake agents is activated in distributed setups,
+the agents will be build on slave sites. That will break the activation of
+changes on thsi slave site.
+
+This option should only applied to the master site and have to be ignored on slave sites.
+
+Workaround: Deactivate this option again.
diff --git a/.bugs/2939 b/.bugs/2939
new file mode 100644
index 0000000..9c20201
--- /dev/null
+++ b/.bugs/2939
@@ -0,0 +1,14 @@
+Title: Export WATO folder permissions breaks activate changes in distributed setups
+Component: wato
+State: open
+Date: 2017-07-18 18:46:33
+Targetversion: 1.2.8
+Class: bug
+
+If the option Export WATO permissions is activated and around 1400 users are used in
+user management, it will break activation of changes. It will end in a apache process
+which is running on full power to calculate all the settings for all users.
+
+This option should be blocked if too much users exists or should be better optimized for higer user amounts.
+
+Workaround: Deactivte the option Export WATO permissions
Module: check_mk
Branch: master
Commit: 3be6e72d05b725504677a349bb1edb3248ecc44d
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=3be6e72d05b725…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Jul 18 11:30:34 2017 +0200
Updated bug entries #2928, #2929
Change-Id: If9e95d9b5e3180748f25321f28ffa04f8f74f84e
---
.bugs/2928 | 8 ++++++++
.bugs/2929 | 10 ++++++++++
2 files changed, 18 insertions(+)
diff --git a/.bugs/2928 b/.bugs/2928
new file mode 100644
index 0000000..bcd4ecc
--- /dev/null
+++ b/.bugs/2928
@@ -0,0 +1,8 @@
+Title: Order of command boxes in views are language dependent
+Component: multisite
+State: open
+Date: 2017-07-18 11:29:17
+Targetversion: 1.4.0
+Class: bug
+
+The order in Englisch and German is different but should not.
diff --git a/.bugs/2929 b/.bugs/2929
new file mode 100644
index 0000000..beb1e0e
--- /dev/null
+++ b/.bugs/2929
@@ -0,0 +1,10 @@
+Title: Command box in views is openable even if the icon is disabled
+Component: multisite
+State: open
+Date: 2017-07-18 11:29:49
+Targetversion: 1.4.0
+Class: bug
+
+If you have a view with no services then the icon for the
+command box is diabled. But nevertheless you can open
+the box by clicking on it. This is not good.
Module: check_mk
Branch: master
Commit: 86e411d58d65d7ffc4861123d3419b41af2bfea4
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=86e411d58d65d7…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Tue Jul 18 11:37:03 2017 +0200
4851 FIX Improved WATO service discovery performance
The function responsible for the service discovery did not properly
cache the data for later usage. This drastically slowed down the
service discovery performance for hosts with lots of services.
Change-Id: Idc60ddbc1e6ac12098bd1d2febc0d1e0aea7caa9
---
.werks/4851 | 13 +++++++++++++
cmk_base/discovery.py | 10 +++++++++-
2 files changed, 22 insertions(+), 1 deletion(-)
diff --git a/.werks/4851 b/.werks/4851
new file mode 100644
index 0000000..74df3de
--- /dev/null
+++ b/.werks/4851
@@ -0,0 +1,13 @@
+Title: Improved WATO service discovery performance
+Level: 1
+Component: checks
+Compatible: compat
+Edition: cre
+Version: 1.5.0i1
+Date: 1500370603
+Class: fix
+
+The function responsible for the service discovery did not properly
+cache the data for later usage. This drastically slowed down the
+service discovery performance for hosts with lots of services.
+
diff --git a/cmk_base/discovery.py b/cmk_base/discovery.py
index a070835..888438d 100644
--- a/cmk_base/discovery.py
+++ b/cmk_base/discovery.py
@@ -1133,6 +1133,8 @@ def get_check_preview(hostname, use_caches, do_snmp_scan, on_error):
ipaddress = ip_lookup.lookup_ip_address(hostname)
table = []
+ parsed_infos = {} # temporary cache for parsed infos
+
for (check_type, item), (check_source, paramstring) in services.items():
params = None
if check_source not in [ 'legacy', 'active', 'custom' ]:
@@ -1169,7 +1171,13 @@ def get_check_preview(hostname, use_caches, do_snmp_scan, on_error):
try:
exitcode = None
perfdata = []
- info = agent_data.get_info_for_check(hostname, ipaddress, infotype)
+
+ if infotype in parsed_infos:
+ info = parsed_infos[infotype]
+ else:
+ info = agent_data.get_info_for_check(hostname, ipaddress, infotype)
+ parsed_infos[infotype] = info
+
# Handle cases where agent does not output data
except MKAgentError, e:
exitcode = 3