Branch: refs/heads/test_weblate2
Home: https://github.com/tribe29/checkmk
Commit: d7a27dd449a6ae72e64073fcaa8b5cf89e988643
https://github.com/tribe29/checkmk/commit/d7a27dd449a6ae72e64073fcaa8b5cf89…
Author: Simon Jess <simon.jess(a)tribe29.com>
Date: 2020-10-21 (Wed, 21 Oct 2020)
Changed paths:
A .werks/11513
M cmk/gui/plugins/metrics/translation.py
Log Message:
-----------
11513 FIX sap_hana_diskusage: Fix scaling of filesystem values in service graphs
Change-Id: I4e58f1305522a7c2458562a01f9610cd08304984
Commit: 1200ad9bfb02168ffdf76b7708361bb68e5a46d5
https://github.com/tribe29/checkmk/commit/1200ad9bfb02168ffdf76b7708361bb68…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-10-21 (Wed, 21 Oct 2020)
Changed paths:
A .werks/11500
Log Message:
-----------
11500 Microcore: Improved memory efficiency of helper processes
In previous versions the Checkmk Microcore used so called Checkmk helper
processes to execute the "Check_MK" services of the monitored hosts.
In larger installations, these processes consumed a lot of memory, because a)
they held the Checkmk configuration in memory and b) you needed to configure a
lot of them to scale the performance of your monitoring with the growing number
of hosts. This resulted in a resource bottleneck.
Checkmk 2.0 comes with a completely reworked helper model. This introduces two
kinds of helper processes.
<ul>
<li>Fetcher: It's only task is to fetch the needed information from the
monitored hosts. So it handles the network communication with the Checkmk
agent, SNMP agent or other special agents. It may take some time to gather
these information and it also may be blocked by network timeouts. But it
consumes only a small amount of memory. So you can configure a lot of these
processes without problems.</li>
<li>Checker: It's task is to parse, analyze and evaluate the information
gathered by the fetcher. It produces the check results for your services. It is
a memory hungry process, because it needs to know all of your Checkmk
configuration. It only takes a very short time to process the information from
the fetcher. There is no network IO done by this helper process, which makes it
pretty fast. You only need a small number of these processes.</li>
</ul>
This new model separates the problems of the previous "Checkmk helpers" into
two separate pools: a) The network IO bound fetching of information and b) the
CPU bound checking of the fetched information. We can now scale these different
helper types independently from each other.
Bottom line: Checkmk 2.0 has consumes significantly less memory (~ factor of 4,
depending on your configuration) while achieving the same amount of checks per
second. As a result, Checkmk 2.0 can monitor even more hosts on the same
platform than before.
The new model is enabled with Checkmk 2.0 by default. It can be configured
using the global settings "Use separate fetchers and checkers", "Maximum
concurrent Checkmk fetchers", "Maximum concurrent Checkmk checkers".
All sites start with 13 fetcher processes and 4 checker processes.
After updating you should have a look at the "Fetcher helper usage" and
"Checker helper usage". It can be viewed in the "Micro core statistics" snapin
and the detailed output of the "OMD [SITE] performance" services on your
Checkmk host. The usage of both pools should not exceed 80%. In case it does,
you should consider increasing the number of helpers of that type.
Change-Id: I5d0c4193be1c3c52577ac61aa366211d2e10a7d8
Commit: 1c2e8c2f6e49a2a99612f497f41acfc35ee395a6
https://github.com/tribe29/checkmk/commit/1c2e8c2f6e49a2a99612f497f41acfc35…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2020-10-21 (Wed, 21 Oct 2020)
Changed paths:
M cmk/gui/wsgi/profiling.py
M tests/unit/cmk/gui/wsgi/test_wsgi_router.py
Log Message:
-----------
WSGI Profiler: reset on every request
* can be set to "accumulating" again by changing a flag in the code.
Change-Id: I4497d0ffb4a30fa5b09b43a0ece7e9927a3bfd22
Commit: c00f450f884d8a229b7d8ab3f0452ed802a1ae04
https://github.com/tribe29/checkmk/commit/c00f450f884d8a229b7d8ab3f0452ed80…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-10-21 (Wed, 21 Oct 2020)
Changed paths:
M cmk/gui/escaping.py
M tests/unit/cmk/gui/test_htmllib_Escaper.py
Log Message:
-----------
Rewrite matching a href unescape regex to separate attributes
The goal of this commit is to separate the values of the href and target
attributes in dedicated match groups. We also exclude the quotes from the
match groups to simplify the code.
Change-Id: I1e64946a1a426d81284b3173db43135ee0d1debc
Commit: e7fd8e4c90be490e4293ec91804d00ec01af5ca6
https://github.com/tribe29/checkmk/commit/e7fd8e4c90be490e4293ec91804d00ec0…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-10-21 (Wed, 21 Oct 2020)
Changed paths:
M cmk/gui/escaping.py
M tests/unit/cmk/gui/test_htmllib_Escaper.py
Log Message:
-----------
Prevent non http/https links from being unescaped
Our permissive HTML escaping is preserving some HTML tags, which includes basic
link tags (a tag with href and optional target attributes). Previous versions
were not inspecting the value of href, which made it possible to add links with
e.g. a "javascript:" protocol. This opened some XSS attack vectors.
After this change it is only possible to link to http and https protocols. All
other links will not be unescaped.
Change-Id: I6e029ecc52f3dd3fc1f213c7f809332e3e49b3ee
Commit: 8b2ec5192eb3dc29ca4a85b3e932bf56dd5b433a
https://github.com/tribe29/checkmk/commit/8b2ec5192eb3dc29ca4a85b3e932bf56d…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-10-21 (Wed, 21 Oct 2020)
Changed paths:
A .werks/11501
Log Message:
-----------
11501 SEC Fix possible XSS using titles of views
Authenticated users that are allowed to configure and share custom views
could inject arbitrary JS code to all users which are permitted to view this
view.
Change-Id: Ib7f2e4523eff3b3a460c6558b13e160057dcfffd
Commit: dce22b6048019b4679dfe6bc0d0cc16da902f787
https://github.com/tribe29/checkmk/commit/dce22b6048019b4679dfe6bc0d0cc16da…
Author: Ronny Bruska <ronny.bruska(a)tribe29.com>
Date: 2020-10-21 (Wed, 21 Oct 2020)
Changed paths:
M cmk/gui/table.py
M cmk/gui/wato/pages/services.py
Log Message:
-----------
Fixed number of rows on service discovery page
CMK-5891
Change-Id: I60950551f8477ed3e6736a54e18e447c44d4f470
Commit: 7bc588d3b8eeeee38fffb8d24be51c1328ac6469
https://github.com/tribe29/checkmk/commit/7bc588d3b8eeeee38fffb8d24be51c132…
Author: Sergey Kipnis <sergey.kipnis(a)tribe29.com>
Date: 2020-10-21 (Wed, 21 Oct 2020)
Changed paths:
M agents/wnx/install/resources/check_mk.user.yml
M agents/wnx/install/resources/check_mk.yml
M agents/wnx/src/check_mk_service.rc
Log Message:
-----------
tribe29 instead of Kettner
Change-Id: I3b6c94ecf55127863b4034068d8778dcee5fbeaa
Commit: a31fe7251284884802a23e9dc997a4ae13c5ce78
https://github.com/tribe29/checkmk/commit/a31fe7251284884802a23e9dc997a4ae1…
Author: Sergey Kipnis <sergey.kipnis(a)tribe29.com>
Date: 2020-10-21 (Wed, 21 Oct 2020)
Changed paths:
A agents/wnx/include/tools/_win.h
M agents/wnx/src/common/mailslot_transport.h
M agents/wnx/src/common/wtools.h
M agents/wnx/src/common/wtools_runas.cpp
M agents/wnx/src/common/wtools_service.cpp
M agents/wnx/src/common/wtools_service.h
M agents/wnx/src/engine/cap.cpp
M agents/wnx/src/engine/providers/df.cpp
M agents/wnx/src/engine/providers/fileinfo.cpp
M agents/wnx/src/engine/providers/ps.cpp
M agents/wnx/src/engine/service_processor.cpp
M agents/wnx/src/engine/service_processor.h
M agents/wnx/watest/test-wtools.cpp
Log Message:
-----------
Refactor INVALID_HANDLE_VALUE to be C++
Change-Id: Ic21fcf3b8b4a0e691792406c0d31e330314af658
Commit: b35ab7fb53bc988bfcf82ae9ca9afbbea40c65f8
https://github.com/tribe29/checkmk/commit/b35ab7fb53bc988bfcf82ae9ca9afbbea…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-10-21 (Wed, 21 Oct 2020)
Changed paths:
M cmk/gui/valuespec.py
Log Message:
-----------
Fix apache_status bakery ruleset
Port fields were initialized with "0" as value instead of "".
CMK-5931
Change-Id: I821beac4a369c337296ca98e39f8203f16566556
Commit: 033c09e5b080d5dee8472fa55c37304f94ca1886
https://github.com/tribe29/checkmk/commit/033c09e5b080d5dee8472fa55c37304f9…
Author: Ronny Bruska <ronny.bruska(a)tribe29.com>
Date: 2020-10-21 (Wed, 21 Oct 2020)
Changed paths:
M cmk/gui/plugins/wato/builtin_modules.py
M cmk/gui/plugins/wato/datasource_programs.py
M tests/unit/cmk/gui/plugins/sidebar/test_wato.py
M tests/unit/cmk/gui/plugins/wato/utils/test_main_menu.py
M tests/unit/cmk/gui/watolib/test_rulespecs.py
Log Message:
-----------
New setup menu entry "Other integrations"
* move "Custom integrations" to new entry
* add SubGroup to datasource rules for categorization
CMK-5796
Change-Id: Ibef3656691a9f838fb098f45ffc3b16f736825b8
Commit: 0901780d921ada002f2174f4143072889e7dbe43
https://github.com/tribe29/checkmk/commit/0901780d921ada002f2174f4143072889…
Author: Andreas Umbreit <andreas.umbreit(a)tribe29.com>
Date: 2020-10-21 (Wed, 21 Oct 2020)
Changed paths:
M tests/Makefile
M tests/pylint/test_pylint.py
M tests/testlib/site.py
M tests/unit/test_find_debug_print.py
M tests/unit/test_permissions.py
Log Message:
-----------
CMK-5304: Remove remainders of obsolete enterprise/agents/bakery dir
Change-Id: Id0183c6c49593c37620f5f318156fa9195171555
Commit: a374817ad20a6ecad160063a62062a2bc842daf5
https://github.com/tribe29/checkmk/commit/a374817ad20a6ecad160063a62062a2bc…
Author: Timotheus Bachinger <timotheus.bachinger(a)tribe29.com>
Date: 2020-10-21 (Wed, 21 Oct 2020)
Changed paths:
M web/htdocs/themes/facelift/scss/_mega_menu.scss
Log Message:
-----------
Styling of search bar
* align left
* limit max width
CMK-5915
Change-Id: I5f3c548751cff91a6a951735d1daf2fbab0966fb
Commit: 3d37f7d00eea754e5168aa0fff4cf3d2ffe98abf
https://github.com/tribe29/checkmk/commit/3d37f7d00eea754e5168aa0fff4cf3d2f…
Author: Timotheus Bachinger <timotheus.bachinger(a)tribe29.com>
Date: 2020-10-21 (Wed, 21 Oct 2020)
Changed paths:
M web/htdocs/js/modules/search.js
Log Message:
-----------
Fix: Hide "more button" only if it is available
CMK-5915
Change-Id: I53f65e94f1d09a5ee25c253bd2afe33588ee8d7a
Commit: 48892d2af5c6bf266b4b3842ade753f85b729089
https://github.com/tribe29/checkmk/commit/48892d2af5c6bf266b4b3842ade753f85…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2020-10-21 (Wed, 21 Oct 2020)
Changed paths:
M cmk/base/api/agent_based/inventory_classes.py
M cmk/base/api/agent_based/register/inventory_plugins_legacy.py
M cmk/base/plugins/agent_based/inv_if.py
M tests/unit/cmk/base/api/agent_based/test_inventory_classes.py
Log Message:
-----------
inventory: Attributes may contain numbers
Change-Id: Iddfca7b02c7666a9829aa675ae5bda99d2bc935a
Commit: 1bd53246fc1c13f4458f391d3a2f49720e55e51d
https://github.com/tribe29/checkmk/commit/1bd53246fc1c13f4458f391d3a2f49720…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2020-10-21 (Wed, 21 Oct 2020)
Changed paths:
M checks/kernel
A cmk/base/plugins/agent_based/kernel.py
M tests/unit/checks/generictests/datasets/kernel.py
Log Message:
-----------
kernel: migrate section
Change-Id: Ie2cf95a2ff1d66faa59016ff7c40b58a2f128852
Commit: f22fd3558ed44a1c0ca80089f6cf7fb58a925c0c
https://github.com/tribe29/checkmk/commit/f22fd3558ed44a1c0ca80089f6cf7fb58…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2020-10-21 (Wed, 21 Oct 2020)
Changed paths:
M cmk/base/check_legacy_includes/cpu_util.py
M cmk/base/plugins/agent_based/utils/cpu_util.py
M tests/unit/cmk/base/plugins/agent_based/utils/test_cpu_util.py
Log Message:
-----------
migrate cpu_util:util_counter
Change-Id: I148840ef4304883f4781c0592edac51f162c77ca
Commit: 6824bd0f4cd79c0395b2d63650f6c869c9f84b0b
https://github.com/tribe29/checkmk/commit/6824bd0f4cd79c0395b2d63650f6c869c…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2020-10-21 (Wed, 21 Oct 2020)
Changed paths:
M cmk/utils/migrated_check_variables.py
Log Message:
-----------
add missing tcp_conn_stats_default_levels
Change-Id: I09a6059e9ccba4e68886c09a6494d1a952f4798b
Commit: ef203dfbf9708657e843762c84783ad59d860a02
https://github.com/tribe29/checkmk/commit/ef203dfbf9708657e843762c84783ad59…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2020-10-21 (Wed, 21 Oct 2020)
Changed paths:
A .werks/11500
A .werks/11501
A .werks/11513
A agents/wnx/include/tools/_win.h
M agents/wnx/install/resources/check_mk.user.yml
M agents/wnx/install/resources/check_mk.yml
M agents/wnx/src/check_mk_service.rc
M agents/wnx/src/common/mailslot_transport.h
M agents/wnx/src/common/wtools.h
M agents/wnx/src/common/wtools_runas.cpp
M agents/wnx/src/common/wtools_service.cpp
M agents/wnx/src/common/wtools_service.h
M agents/wnx/src/engine/cap.cpp
M agents/wnx/src/engine/providers/df.cpp
M agents/wnx/src/engine/providers/fileinfo.cpp
M agents/wnx/src/engine/providers/ps.cpp
M agents/wnx/src/engine/service_processor.cpp
M agents/wnx/src/engine/service_processor.h
M agents/wnx/watest/test-wtools.cpp
M checks/kernel
M cmk/base/api/agent_based/inventory_classes.py
M cmk/base/api/agent_based/register/inventory_plugins_legacy.py
M cmk/base/check_legacy_includes/cpu_util.py
M cmk/base/plugins/agent_based/inv_if.py
A cmk/base/plugins/agent_based/kernel.py
M cmk/base/plugins/agent_based/utils/cpu_util.py
M cmk/gui/escaping.py
M cmk/gui/plugins/metrics/translation.py
M cmk/gui/plugins/wato/builtin_modules.py
M cmk/gui/plugins/wato/datasource_programs.py
M cmk/gui/table.py
M cmk/gui/valuespec.py
M cmk/gui/wato/pages/services.py
M cmk/gui/wsgi/profiling.py
M cmk/utils/migrated_check_variables.py
M tests/Makefile
M tests/pylint/test_pylint.py
M tests/testlib/site.py
M tests/unit/checks/generictests/datasets/kernel.py
M tests/unit/cmk/base/api/agent_based/test_inventory_classes.py
M tests/unit/cmk/base/plugins/agent_based/utils/test_cpu_util.py
M tests/unit/cmk/gui/plugins/sidebar/test_wato.py
M tests/unit/cmk/gui/plugins/wato/utils/test_main_menu.py
M tests/unit/cmk/gui/test_htmllib_Escaper.py
M tests/unit/cmk/gui/watolib/test_rulespecs.py
M tests/unit/cmk/gui/wsgi/test_wsgi_router.py
M tests/unit/test_find_debug_print.py
M tests/unit/test_permissions.py
M web/htdocs/js/modules/search.js
M web/htdocs/themes/facelift/scss/_mega_menu.scss
Log Message:
-----------
Merge branch 'master' into test_weblate2
Change-Id: I274993c99299017e862c7ab53ed76af69c023f33
Compare: https://github.com/tribe29/checkmk/compare/6fb1c250eded...ef203dfbf970
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 033c09e5b080d5dee8472fa55c37304f94ca1886
https://github.com/tribe29/checkmk/commit/033c09e5b080d5dee8472fa55c37304f9…
Author: Ronny Bruska <ronny.bruska(a)tribe29.com>
Date: 2020-10-21 (Wed, 21 Oct 2020)
Changed paths:
M cmk/gui/plugins/wato/builtin_modules.py
M cmk/gui/plugins/wato/datasource_programs.py
M tests/unit/cmk/gui/plugins/sidebar/test_wato.py
M tests/unit/cmk/gui/plugins/wato/utils/test_main_menu.py
M tests/unit/cmk/gui/watolib/test_rulespecs.py
Log Message:
-----------
New setup menu entry "Other integrations"
* move "Custom integrations" to new entry
* add SubGroup to datasource rules for categorization
CMK-5796
Change-Id: Ibef3656691a9f838fb098f45ffc3b16f736825b8
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: b35ab7fb53bc988bfcf82ae9ca9afbbea40c65f8
https://github.com/tribe29/checkmk/commit/b35ab7fb53bc988bfcf82ae9ca9afbbea…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-10-21 (Wed, 21 Oct 2020)
Changed paths:
M cmk/gui/valuespec.py
Log Message:
-----------
Fix apache_status bakery ruleset
Port fields were initialized with "0" as value instead of "".
CMK-5931
Change-Id: I821beac4a369c337296ca98e39f8203f16566556
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 7bc588d3b8eeeee38fffb8d24be51c1328ac6469
https://github.com/tribe29/checkmk/commit/7bc588d3b8eeeee38fffb8d24be51c132…
Author: Sergey Kipnis <sergey.kipnis(a)tribe29.com>
Date: 2020-10-21 (Wed, 21 Oct 2020)
Changed paths:
M agents/wnx/install/resources/check_mk.user.yml
M agents/wnx/install/resources/check_mk.yml
M agents/wnx/src/check_mk_service.rc
Log Message:
-----------
tribe29 instead of Kettner
Change-Id: I3b6c94ecf55127863b4034068d8778dcee5fbeaa
Commit: a31fe7251284884802a23e9dc997a4ae13c5ce78
https://github.com/tribe29/checkmk/commit/a31fe7251284884802a23e9dc997a4ae1…
Author: Sergey Kipnis <sergey.kipnis(a)tribe29.com>
Date: 2020-10-21 (Wed, 21 Oct 2020)
Changed paths:
A agents/wnx/include/tools/_win.h
M agents/wnx/src/common/mailslot_transport.h
M agents/wnx/src/common/wtools.h
M agents/wnx/src/common/wtools_runas.cpp
M agents/wnx/src/common/wtools_service.cpp
M agents/wnx/src/common/wtools_service.h
M agents/wnx/src/engine/cap.cpp
M agents/wnx/src/engine/providers/df.cpp
M agents/wnx/src/engine/providers/fileinfo.cpp
M agents/wnx/src/engine/providers/ps.cpp
M agents/wnx/src/engine/service_processor.cpp
M agents/wnx/src/engine/service_processor.h
M agents/wnx/watest/test-wtools.cpp
Log Message:
-----------
Refactor INVALID_HANDLE_VALUE to be C++
Change-Id: Ic21fcf3b8b4a0e691792406c0d31e330314af658
Compare: https://github.com/tribe29/checkmk/compare/dce22b604801...a31fe7251284