Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: a6aad24c9ca60bd7ffb96744b98d81432fa15e46
https://github.com/tribe29/checkmk/commit/a6aad24c9ca60bd7ffb96744b98d81432…
Author: Sofia Colakovic <sofia.colakovic(a)tribe29.com>
Date: 2021-11-05 (Fri, 05 Nov 2021)
Changed paths:
M omd/packages/check_mk/MARCV_PORT
M omd/packages/check_mk/skel/etc/init.d/marcv
M omd/packages/omd/port_is_used
M omd/packages/omd/skel.permissions
A omd/packages/omd/skel/etc/omd/allocated_ports
Log Message:
-----------
marcv and apache - automatic port selection
If a default or set ports are not available. A free port will
be chosen. Used ports are no longer read from site.conf
by default since it may not be accessable from other sites.
Change-Id: I59fc0d71d8b9f455436d49a65503af7436ee990d
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: c1224d8e1e40b1a8cd938df50a8059a49da4df08
https://github.com/tribe29/checkmk/commit/c1224d8e1e40b1a8cd938df50a8059a49…
Author: Sofia Colakovic <sofia.colakovic(a)tribe29.com>
Date: 2021-11-05 (Fri, 05 Nov 2021)
Changed paths:
M omd/packages/omd/omdlib/main.py
Log Message:
-----------
omd config: don't set the config twice
When running omd config graphical interface the config
was previously set twice. The value returned by the set
command was be overwritten by the original one.
Change-Id: Ife400829177b3885a62abf5c7d8a4c823da8d684
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 449ea150f5f0313b47d495114258c77dd86bbca3
https://github.com/tribe29/checkmk/commit/449ea150f5f0313b47d495114258c77dd…
Author: Sven Panne <sven.panne(a)tribe29.com>
Date: 2021-11-05 (Fri, 05 Nov 2021)
Changed paths:
M livestatus/src/DynamicFileColumn-impl.cc
M livestatus/src/DynamicFileColumn.cc
M livestatus/src/NagiosCore.cc
M livestatus/src/POSIXUtils.cc
M livestatus/src/ServiceListState.cc
M livestatus/src/Store.cc
M livestatus/src/TableEventConsole.cc
M livestatus/src/TableLog.cc
M livestatus/src/TableStatus.cc
Log Message:
-----------
Nuked superfluous #includes.
Change-Id: If7f198b1d513cf90f860cb7d0697a9547bd7c4f3
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 7eafd9e7b4b4749c9728ea74250fe6dd759e4d55
https://github.com/tribe29/checkmk/commit/7eafd9e7b4b4749c9728ea74250fe6dd7…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-11-05 (Fri, 05 Nov 2021)
Changed paths:
M cmk/gui/cron.py
M cmk/gui/dashboard.py
M cmk/gui/hooks.py
M cmk/gui/metrics.py
M cmk/gui/modules.py
M cmk/gui/notifications.py
M cmk/gui/sidebar.py
M cmk/gui/userdb.py
M cmk/gui/views.py
M cmk/gui/visuals.py
M cmk/gui/wato/__init__.py
M cmk/gui/webapi.py
M tests/unit/cmk/gui/test_gui_hooks.py
M tests/unit/cmk/gui/test_sidebar.py
Log Message:
-----------
Simplify load_plugins() hooks
Previously the load_plugins hooks of all main modules were called on
every request and it was up to the hooks to decide whether or not they
need to do something during every request or just in `force` mode (when
plugins have not been initialized yet or a local plugins has changed).
Now that none of the main modules executed code in non-forced mode
anymore, we could drop the force flag at all. The main module global
state `loaded_with_language` could also be dropped from all the main
modules and centralized as `_plugins_loaded_for` in the cmk.gui.modules
module.
Also cleaned up `call_load_plugins_hooks` a bit more.
Change-Id: I815e229eae706abe5db74d3eba7c6444a242c9d0
Commit: c6783c83b7f5eb16c139f5ae60be31e9fa8892f3
https://github.com/tribe29/checkmk/commit/c6783c83b7f5eb16c139f5ae60be31e9f…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-11-05 (Fri, 05 Nov 2021)
Changed paths:
M cmk/gui/wsgi/applications/checkmk.py
Log Message:
-----------
Move load_plugins() hook calls out of request context
This step is done to ensure that the load_plugins hooks are independent
of the RequestContext and Config.
Change-Id: Ic510a3c50aa82eca9b6e35d4226f891ac5e0416a
Commit: 6e479e6df81e167f3cb6f1c9f2dba5ce4a3ccec1
https://github.com/tribe29/checkmk/commit/6e479e6df81e167f3cb6f1c9f2dba5ce4…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-11-05 (Fri, 05 Nov 2021)
Changed paths:
M cmk/utils/paths.py
M tests/testlib/__init__.py
A tests/unit/cmk/gui/test_modules.py
M tests/unit/cmk/utils/test_paths.py
Log Message:
-----------
Add plugin loading tests
* Test loading legacy plugins of the different main modules
* Test that standard module based plugins are loaded of all main
modules. We don't test for the individual plugins that are loaded
since we only want to ensure that the loading mechanism is working.
Change-Id: Icef47015bf664e4b8faf6005af7d9cd2b1c3abf4
Commit: d39b4ddf453b605035acc439d7be58ff87359b58
https://github.com/tribe29/checkmk/commit/d39b4ddf453b605035acc439d7be58ff8…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-11-05 (Fri, 05 Nov 2021)
Changed paths:
M cmk/gui/wsgi/applications/checkmk.py
M web/app/index.wsgi
Log Message:
-----------
Load plugins during app initialization
Since 1.6 we require no localized strings to be on module scope. This
enables us to load the plugins during application initialization and not
later during each request.
Change-Id: I323e024bdcfb9b8e4f6eb4d55a65f7e15ea2862a
Commit: 448803572d52878113b351da38d74cd80896b4be
https://github.com/tribe29/checkmk/commit/448803572d52878113b351da38d74cd80…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-11-05 (Fri, 05 Nov 2021)
Changed paths:
M web/app/.f12
Log Message:
-----------
Fix wrong .f12 site detection
Change-Id: I6de2cce1dfd2aaa74af3f77c5c8c54fbe430de9e
Commit: 7ad4afe2b846e8ac89a8a8294824a81f0a56bd7a
https://github.com/tribe29/checkmk/commit/7ad4afe2b846e8ac89a8a8294824a81f0…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-11-05 (Fri, 05 Nov 2021)
Changed paths:
M cmk/gui/wsgi/applications/utils.py
M cmk/gui/wsgi/profiling.py
M web/app/index.wsgi
Log Message:
-----------
Initialize GUI logging before plugin loading
This enables us to see the debug log entries we expect
during the early application initialization phase.
Change-Id: I28e757f776f02e0e697518b0e065544fb7c16cf4
Commit: da47ef770d7ea5f290c046765da866ab52505ae1
https://github.com/tribe29/checkmk/commit/da47ef770d7ea5f290c046765da866ab5…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-11-05 (Fri, 05 Nov 2021)
Changed paths:
M cmk/gui/pagetypes.py
M tests/unit/cmk/gui/conftest.py
M tests/unit/cmk/gui/plugins/metrics/test_metrics_utils.py
M tests/unit/cmk/gui/plugins/sidebar/test_snapins.py
M tests/unit/cmk/gui/plugins/sidebar/test_wato.py
M tests/unit/cmk/gui/plugins/views/test_painters.py
M tests/unit/cmk/gui/plugins/visuals/test_filters.py
M tests/unit/cmk/gui/plugins/wato/utils/test_main_menu.py
M tests/unit/cmk/gui/test_gui_config.py
M tests/unit/cmk/gui/test_pages.py
M tests/unit/cmk/gui/test_sidebar.py
M tests/unit/cmk/gui/test_views.py
M tests/unit/cmk/gui/test_visuals.py
M tests/unit/cmk/gui/watolib/test_activate_changes.py
M tests/unit/cmk/gui/watolib/test_config_sync.py
M tests/unit/cmk/gui/watolib/test_hosts_and_folders.py
M tests/unit/cmk/gui/watolib/test_main_menu_watolib.py
M tests/unit/cmk/gui/watolib/test_rulespecs.py
M tests/unit/cmk/gui/watolib/test_watolib.py
Log Message:
-----------
Align load_plugins fixture with real world
Previously only some tests were explicitly loading the GUI plugins.
Since the modules were loaded into the python and application global
structures, this is error prone. Subsequent tests which rely on the
plugins but not use the load_plugins fixture were working as long as the
previous test was executed before. But when the second test was executed
alone, this lead to a failing test.
To solve this situation the load_plugins fixture is now a session wide
fixture and automatically loaded for all GUI tests. This is less error
prone and also reflects the real world of the GUI code: The plugins are
loaded early in application initialization and available in the moment
the application code is executed.
Change-Id: I752b6bb6123a923facf9623421aee15837a4616d
Compare: https://github.com/tribe29/checkmk/compare/34867b741363...da47ef770d7e
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: e3740342a3c37c97dadd0a2163a480c54d012f8e
https://github.com/tribe29/checkmk/commit/e3740342a3c37c97dadd0a2163a480c54…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-11-05 (Fri, 05 Nov 2021)
Changed paths:
M tests/unit/cmk/gui/plugins/openapi/test_openapi_host_config.py
Log Message:
-----------
REST API: hosts/folders, fix tests
Change-Id: I2c7889cba9149bdae6cd6fbf26f3484afcec42cd
Commit: 1fcc29bf1cc5791eb3534254c6ffaf68c808663c
https://github.com/tribe29/checkmk/commit/1fcc29bf1cc5791eb3534254c6ffaf68c…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-11-05 (Fri, 05 Nov 2021)
Changed paths:
M cmk/gui/fields/definitions.py
M cmk/gui/plugins/openapi/endpoints/host_config.py
M cmk/gui/plugins/openapi/endpoints/service_discovery.py
M cmk/gui/plugins/webapi/utils.py
M cmk/gui/plugins/webapi/webapi.py
M cmk/gui/wato/pages/bulk_discovery.py
M cmk/gui/wato/pages/bulk_edit.py
M cmk/gui/wato/pages/folders.py
M cmk/gui/wato/pages/host_diagnose.py
M cmk/gui/wato/pages/host_rename.py
M cmk/gui/wato/pages/hosts.py
M cmk/gui/wato/pages/object_parameters.py
M cmk/gui/wato/pages/rulesets.py
M cmk/gui/wato/pages/services.py
M cmk/gui/watolib/hosts_and_folders.py
M tests/unit/cmk/post_rename_site/plugins/actions/test_hosts_and_folders_action.py
Log Message:
-----------
hosts and folders: fix Host.host() typing
* this was 'CREHost' but according to the implementation it is
rather Optional['CREHost'].
* typing changed
* all call sites fixed
Change-Id: I67f7edea7f48e1428a53467338020a333142764d
Commit: f188d04e554d0bd0eb37892ce2da0758397c47b0
https://github.com/tribe29/checkmk/commit/f188d04e554d0bd0eb37892ce2da07583…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-11-05 (Fri, 05 Nov 2021)
Changed paths:
M cmk/gui/plugins/openapi/endpoints/host_config.py
Log Message:
-----------
REST API: clarify boolean argument of function
Change-Id: I39979fc6c9a47839992e01b14936e9a53543016a
Commit: 34867b7413636f8ca24314cfb8479178c7b8d9a9
https://github.com/tribe29/checkmk/commit/34867b7413636f8ca24314cfb8479178c…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-11-05 (Fri, 05 Nov 2021)
Changed paths:
A .werks/13077
M cmk/gui/plugins/wato/check_mk_configuration.py
M tests/unit/cmk/gui/watolib/test_watolib.py
Log Message:
-----------
13077 FIX REST API ETag configuration option
The configuration option for the ETags, previously introduced in
Werk 11938 did not show up in the global configuration setup GUI.
This was due to a bug, which this Werk fixes. The ETag functionality can now
be turned on/off through the "Global settings > Site Management > REST API:
Use HTTP ETags for optimistic locking" configuration value.
Change-Id: I3b7aadd38ac357554f68572ea5927b132558e3ce
Compare: https://github.com/tribe29/checkmk/compare/2c06b453f247...34867b741363
Branch: refs/heads/2.0.0
Home: https://github.com/tribe29/checkmk
Commit: f4ed8140915c3d933c0d2662539f29d2b58788a2
https://github.com/tribe29/checkmk/commit/f4ed8140915c3d933c0d2662539f29d2b…
Author: Sofia Colakovic <sofia.colakovic(a)tribe29.com>
Date: 2021-11-05 (Fri, 05 Nov 2021)
Changed paths:
A .werks/13449
M agents/plugins/mk_mysql
Log Message:
-----------
13449 FIX mk_mysql: Fix missing includes warning
Some versions of mysqladmin issue a warning if the mysql.local.cfg
file is missing. Now, the agent creates an empty file in that case
and the warnings no longer occur.
CMK-8819
Change-Id: I34229180d5db59d5cdfc62d8ea7a679a7f3477eb
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 2c06b453f247c63563bf3cd8f7ee600f5b7e59e7
https://github.com/tribe29/checkmk/commit/2c06b453f247c63563bf3cd8f7ee600f5…
Author: Sofia Colakovic <sofia.colakovic(a)tribe29.com>
Date: 2021-11-05 (Fri, 05 Nov 2021)
Changed paths:
A .werks/13449
M agents/plugins/mk_mysql
Log Message:
-----------
13449 FIX mk_mysql: Fix missing includes warning
Some versions of mysqladmin issue a warning if the mysql.local.cfg
file is missing. Now, the agent creates an empty file in that case
and the warnings no longer occur.
CMK-8819
Change-Id: I34229180d5db59d5cdfc62d8ea7a679a7f3477eb