Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: cd66147f0e74f64c5940d326511332a3c14dc805
https://github.com/tribe29/checkmk/commit/cd66147f0e74f64c5940d326511332a3c…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2020-07-06 (Mon, 06 Jul 2020)
Changed paths:
M cmk/base/checking.py
M cmk/base/config.py
M cmk/base/data_sources/_data_sources.py
M cmk/base/discovery.py
M cmk/base/inventory.py
M tests-py3/unit/cmk/base/data_sources/test_host_sections.py
M tests-py3/unit/cmk/base/test_config.py
Log Message:
-----------
Make get_host_sections static
Instead of playing guess-games with default arguments in the function,
we let the caller pass the good values.
This results in code that is much simpler and further shows that
`get_host_sections` needs not be in DataSources. Indeed,
`DataSources.get_host_sections()` returns a MultiHostSections. But
MultiHostSections is but a glorified `Mapping[HostKey,
AbstractHostSections]` and the arguments to `get_host_sections()` could
be easily rewritten as `[HostKey, ...]`.
This is the way to close CMK-4838.
CMK-4838
Change-Id: Ie3eae73ad4dedce4e00bd7474ca71abb1891c200
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: cf9c2358e69efb51b78fdb96ec37dec49e054a61
https://github.com/tribe29/checkmk/commit/cf9c2358e69efb51b78fdb96ec37dec49…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2020-07-06 (Mon, 06 Jul 2020)
Changed paths:
M tests-py3/unit/checks/test_generic_legacy_conversion.py
M tests-py3/unit/conftest.py
Log Message:
-----------
unittest: make check_variables fixture globally available
Change-Id: Ic3bad31963690ed57b4313fbd42d81c233f6854d
Commit: 1630f1ed9a12f16bb2fcaab997b04a670e75b8f4
https://github.com/tribe29/checkmk/commit/1630f1ed9a12f16bb2fcaab997b04a670…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2020-07-06 (Mon, 06 Jul 2020)
Changed paths:
A .werks/11108
M cmk/base/autochecks.py
M cmk/base/config.py
M cmk/update_config.py
M tests-py3/testlib/base.py
M tests-py3/unit/cmk/base/test_autochecks.py
M tests-py3/unit/cmk/base/test_config.py
Log Message:
-----------
11108 Resolving of plugins default parameters during discovery
This werk only affects users that use an *.mk file in etc/check_mk/conf.d to override
the default parameters of a check plugin.
Previously the reference to this variable was saved in the autochecks, such that the value of
corresponding variable was determined just before each execution of the check plugin.
Now the value of the variable is evaluated during discovery, and the resulting value will be
saved in the autochecks and used for every subsequent execution of the check plugin.
Autochecks that have references to variable names in them will be converted during the update
process to Checkmk 1.7 or by running `cmk-update-config -v` manually.
Users that use an etc/check_mk/conf.d/*.mk file to set these default parameters are encouraged
to configure an appropriate WATO rule instead.
Change-Id: If91034e89fc7c3bc58f7773bf705020caf734e7d
Commit: 4e4039af98eac2ef7cf5669fca81f49ccce843cb
https://github.com/tribe29/checkmk/commit/4e4039af98eac2ef7cf5669fca81f49cc…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2020-07-06 (Mon, 06 Jul 2020)
Changed paths:
M cmk/base/automations/check_mk.py
M cmk/gui/watolib/services.py
Log Message:
-----------
automation: pass resolved params
The automation call set-autochecks now deals with "resolved" parameters,
instead of referring to unresoved strings.
Change-Id: Ia9a8b7d17f0d9e52915e401b8cd3acbcf2546835
Commit: b61fb45407a58870d663432f81cd0e9f4fcf010c
https://github.com/tribe29/checkmk/commit/b61fb45407a58870d663432f81cd0e9f4…
Author: Sven Panne <sven.panne(a)tribe29.com>
Date: 2020-07-06 (Mon, 06 Jul 2020)
Changed paths:
M Makefile
M scripts/run-pipenv
R virtual-envs/2.7/.gitignore
R virtual-envs/2.7/Makefile
R virtual-envs/2.7/Pipfile
R virtual-envs/2.7/Pipfile.lock
M virtual-envs/3.8/Makefile
R virtual-envs/venv.make
Log Message:
-----------
Remove Python 2 virtual environment.
Moving the venv to the toplevel will be done later.
Change-Id: I85cd3d1d98272179dc89c2f9c04e0892ae829192
Compare: https://github.com/tribe29/checkmk/compare/c208b290913f...b61fb45407a5
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 7f1616561d685703fdbeac4f44c18e8654e3ea4d
https://github.com/tribe29/checkmk/commit/7f1616561d685703fdbeac4f44c18e865…
Author: Frans Fürst <frans.fuerst(a)tribe29.com>
Date: 2020-07-06 (Mon, 06 Jul 2020)
Changed paths:
M checks/agent_cisco_prime
M cmk/gui/plugins/wato/datasource_programs.py
M cmk/special_agents/agent_cisco_prime.py
M tests-py3/unit/agents/special/test_special_agent_args.py
M tests-py3/unit/cmk/special_agents/test_agent_cisco_prime_output.py
Log Message:
-----------
agent_cisco_prime: remove unneeded --path argument, adapt test
Change-Id: I1ad748f507c6b462126822874b45b91b7537762f
Commit: ac41e8ff7fd52c2c57591d49f918df35b3cea902
https://github.com/tribe29/checkmk/commit/ac41e8ff7fd52c2c57591d49f918df35b…
Author: Frans Fürst <frans.fuerst(a)tribe29.com>
Date: 2020-07-06 (Mon, 06 Jul 2020)
Changed paths:
M .werks/11163
M checkman/cisco_prime_wifi_connections
A checks/cisco_prime.include
M checks/cisco_prime_wifi_connections
M tests-py3/unit/checks/generictests/datasets/cisco_prime_wifi_connections_test.py
Log Message:
-----------
cisco_prime_wifi_connections: refactor to use include file for shared stuff
Change-Id: Ia8cf3a0fe7b0137e370710faf1af79996eb2d0cc
Commit: c208b290913f99682261d915ecf69df1dd53998c
https://github.com/tribe29/checkmk/commit/c208b290913f99682261d915ecf69df1d…
Author: Frans Fürst <frans.fuerst(a)tribe29.com>
Date: 2020-07-06 (Mon, 06 Jul 2020)
Changed paths:
A .werks/11205
A checkman/cisco_prime_wifi_access_points
A checks/cisco_prime_wifi_access_points
M cmk/gui/plugins/metrics/network.py
A cmk/gui/plugins/wato/check_parameters/cisco_prime_wifi_access_points_params.py
A tests-py3/unit/checks/generictests/datasets/cisco_prime_wifi_access_points_test.py
Log Message:
-----------
11205 Add cisco_prime_wifi_access_points check
Change-Id: Ic905ba9ae8df9552d0706ba88983378ddcbc2eee
Compare: https://github.com/tribe29/checkmk/compare/a59fee13181d...c208b290913f
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: c8a961521470b956893ca17cd950b745d276c8d4
https://github.com/tribe29/checkmk/commit/c8a961521470b956893ca17cd950b745d…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2020-07-06 (Mon, 06 Jul 2020)
Changed paths:
R tests-py3/unit/checks/generictests/datasets/ps_lnx.py
A tests-py3/unit/checks/generictests/datasets/ps_lnx_1.py
A tests-py3/unit/checks/generictests/datasets/ps_lnx_2.py
Log Message:
-----------
Extended generic tests for check ps
Change-Id: I02af989a40ff1e0ae91c04665636517b13dbe54f
Commit: a59fee13181d26c5e05e74dc8c5188f1165d3192
https://github.com/tribe29/checkmk/commit/a59fee13181d26c5e05e74dc8c5188f11…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2020-07-06 (Mon, 06 Jul 2020)
Changed paths:
A .werks/11220
M checks/ps.include
M cmk/gui/plugins/wato/check_parameters/ps.py
M tests-py3/unit/checks/generictests/datasets/ps_lnx_1.py
M tests-py3/unit/checks/generictests/datasets/ps_lnx_2.py
M tests-py3/unit/checks/test_ps.py
Log Message:
-----------
11220 ps: Add option to specify minimum age of processes
This werk adds the option to specify a minimum age for processes monitored
by the check <tt>ps<\tt>. This can be done either when configuring the default
parameters for the discovered services of the <tt>ps<\tt>-check (rule "Process
Discovery") or directly via the rule "State and count of processes".
Change-Id: Ife4090aace585e43af2c598f51f03ed3e0478707
Compare: https://github.com/tribe29/checkmk/compare/77fa911db26e...a59fee13181d
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 77fa911db26e5d165a15dc2bff92550f8e82c72b
https://github.com/tribe29/checkmk/commit/77fa911db26e5d165a15dc2bff92550f8…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2020-07-06 (Mon, 06 Jul 2020)
Changed paths:
M cmk/base/api/agent_based/checking_types.py
M cmk/base/api/agent_based/register/check_plugins.py
M cmk/base/api/agent_based/register/export.py
M cmk/base/api/agent_based/register/section_plugins.py
A cmk/base/api/agent_based/register/utils.py
M cmk/base/api/agent_based/section_types.py
M cmk/base/core_nagios.py
M tests-py3/unit/checks/test_generic_legacy_conversion.py
M tests-py3/unit/cmk/base/api/agent_based/register/test_section_plugins.py
M tests-py3/unit/cmk/base/test_config.py
Log Message:
-----------
Check API: add module attribute to plugins
in order to import them selectively in core_nagios.py
Change-Id: I787b63dac7e960af12cfe406ee778a366b8b3df5
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 94e250aa7162b10637ec112db02c2f5906fe4167
https://github.com/tribe29/checkmk/commit/94e250aa7162b10637ec112db02c2f590…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-07-06 (Mon, 06 Jul 2020)
Changed paths:
M omd/packages/omd/omdlib/main.py
A omd/packages/omd/omdlib/tmpfs.py
M omd/packages/omd/omdlib/utils.py
A tests-py3/unit/omdlib/conftest.py
M tests-py3/unit/omdlib/test_omdlib_main.py
A tests-py3/unit/omdlib/test_omdlib_tmpfs.py
Log Message:
-----------
Move tmpfs related functions to dedicated module
Change-Id: Ib84ae0bf3179d9a62a2148015f5945a77e291b4b
Commit: 096c9515ac077045828fb9b113f85c61dae7981b
https://github.com/tribe29/checkmk/commit/096c9515ac077045828fb9b113f85c61d…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-07-06 (Mon, 06 Jul 2020)
Changed paths:
M omd/packages/omd/omdlib/contexts.py
M omd/packages/omd/omdlib/tmpfs.py
M tests-py3/unit/omdlib/conftest.py
M tests-py3/unit/omdlib/test_omdlib_tmpfs.py
Log Message:
-----------
Improve testability
Change-Id: I099f39ed4f41939a65f8d0da7063a9822ef11a7a
Commit: 294f445414d6cea2c94dcddd3d99fd7b82bbb2f3
https://github.com/tribe29/checkmk/commit/294f445414d6cea2c94dcddd3d99fd7b8…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-07-06 (Mon, 06 Jul 2020)
Changed paths:
A .werks/11247
M omd/packages/omd/omdlib/main.py
M omd/packages/omd/omdlib/tmpfs.py
M tests-py3/unit/omdlib/test_omdlib_tmpfs.py
Log Message:
-----------
11247 Preserve piggyback data during restart and updates
For performance reasons, the Piggyback data is stored in the tmpfs of the site
(in tmp/check_mk/piggyback). This has the disadvantage that the files disappear
as soon as the checkmk server is restarted or the tmpfs is unmounted (e.g.
during an update).
The lack of piggyback data can temporarily lead to incorrect check results and,
if you use the Dynamic Configuration, even cause certain hosts/services to
disappear from the configuration for a short time.
With this change the content of tmp/check_mk/piggyback and
tmp/check_mk/piggyback_sources is saved to var/omd/tmpfs-dump.tar during
certain actions (currently: omd stop, omd umount).
If the "omd start" detects that tmpfs needs to be reinitialized, the backup
from var/omd/tmpfs-dump.tar is restored to the fresh tmpfs.
Change-Id: I4ac746299824415145b998eeef6047ef01902ab0
Compare: https://github.com/tribe29/checkmk/compare/f7aa128bc7a4...294f445414d6
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: f7aa128bc7a4d81315d24125adf700c115d647cd
https://github.com/tribe29/checkmk/commit/f7aa128bc7a4d81315d24125adf700c11…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2020-07-03 (Fri, 03 Jul 2020)
Changed paths:
M cmk/base/data_sources/_data_sources.py
M cmk/base/discovery.py
Log Message:
-----------
Split DataSources.get_host_sections()
The method did three things, we make three functions. In particular, we
mark the functionalities that do not require the class `staticmethod`.
CMK-4838
Change-Id: I400cb43c087dea795dfe00c62e8393c96f35f6ba