Branch: refs/heads/2.1.0
Home: https://github.com/tribe29/checkmk
Commit: 48dcf08ab7730182d59b74a93476260981a6b394
https://github.com/tribe29/checkmk/commit/48dcf08ab7730182d59b74a9347626098…
Author: Ronny Bruska <ronny.bruska(a)tribe29.com>
Date: 2023-04-28 (Fri, 28 Apr 2023)
Changed paths:
M cmk/gui/wato/pages/rulesets.py
Log Message:
-----------
Do not allow to view rules without permission via url
* adjustment to werk #15480
* user could still see the rules if the url was called directly
SUP-13649
Change-Id: I043d7ad7ac7821f77f4e3b81ac1173a81484a34d
Branch: refs/heads/2.2.0
Home: https://github.com/tribe29/checkmk
Commit: cf4b50432e7ef035a9aa97f6718725c0c4c75850
https://github.com/tribe29/checkmk/commit/cf4b50432e7ef035a9aa97f6718725c0c…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2023-04-28 (Fri, 28 Apr 2023)
Changed paths:
M omd/packages/omd/omdlib/main.py
M tests/unit/omdlib/test_omdlib_main.py
Log Message:
-----------
Extract permission action logic and add tests
Change-Id: I73059924ec6ab3767373375a699b2b267e32dce4
Commit: 90c1493adb729bfe6686e0b3bfe368c4d0c63de0
https://github.com/tribe29/checkmk/commit/90c1493adb729bfe6686e0b3bfe368c4d…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2023-04-28 (Fri, 28 Apr 2023)
Changed paths:
M omd/packages/omd/omdlib/main.py
Log Message:
-----------
Cleanup structure a bit
Change-Id: I2b54fc2e3dee17c66a3948a6b3c0cf8e7221e2ee
Commit: 9a2ea87b8b5236ef817d3da9b331be21596a8186
https://github.com/tribe29/checkmk/commit/9a2ea87b8b5236ef817d3da9b331be215…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2023-04-28 (Fri, 28 Apr 2023)
Changed paths:
M tests/unit/omdlib/test_omdlib_main.py
Log Message:
-----------
Add test case for questions we see during 2.1 -> 2.2 updates
Change-Id: Ia8a6b948fcbc4235884a522b239d408911b000b0
Commit: e51ed1e572253bc85e103c8efaf9932a771057b4
https://github.com/tribe29/checkmk/commit/e51ed1e572253bc85e103c8efaf9932a7…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2023-04-28 (Fri, 28 Apr 2023)
Changed paths:
A .werks/15706
M omd/packages/omd/omdlib/main.py
M tests/unit/omdlib/test_omdlib_main.py
Log Message:
-----------
15706 FIX Reduce permission questions during "omd update"
When executing "omd update" with old sites that have been running with various older stable versions,
the permissions of some directories may not be as we expect. Instead of asking user for confirmation
we now enforce the new default permissions to be applied.
This change affects these directories:
<ul>
<li>etc/check_mk/multisite.d</li>
<li>etc/check_mk/conf.d</li>
<li>etc/check_mk/conf.d/wato</li>
<li>local/share/nagvis/htdocs/userfiles/images/maps</li>
<li>local/share/nagvis/htdocs/userfiles/images/shapes</li>
</ul>
Change-Id: I9c064ddcd136370d11fb3d09e844cbb8dc97ba59
Compare: https://github.com/tribe29/checkmk/compare/ef411d25a291...e51ed1e57225
Branch: refs/heads/2.2.0
Home: https://github.com/tribe29/checkmk
Commit: b1639a98684aac3d3c529d259b66f70835264b3a
https://github.com/tribe29/checkmk/commit/b1639a98684aac3d3c529d259b66f7083…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2023-04-27 (Thu, 27 Apr 2023)
Changed paths:
M cmk/gui/plugins/metrics/unit.py
M cmk/gui/type_defs.py
Log Message:
-----------
Units: Introduce optional field for conversion
Since converting when doing the actual rendering is too late, we instead
need a function to convert the actual data points.
Also remove the current conversion mechanism for the temperature unit
and add the new field instead. As of this commit, the conversion of the
temperature unit is temporarily broken, until we apply the conversion to
the various places where data is retrieved from livestatus.
CMK-12958
Change-Id: Ie1c67d8c9064e47754ec739ba46ebd5c7aafb9f9
Commit: e3983816c2f80f3d86fcec3ad9bf1aa29a2da4e1
https://github.com/tribe29/checkmk/commit/e3983816c2f80f3d86fcec3ad9bf1aa29…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2023-04-27 (Thu, 27 Apr 2023)
Changed paths:
M cmk/utils/livestatus_helpers/testing.py
Log Message:
-----------
livestatus mocking: Add option to expect query for a single site
This will be needed in the next commit for testing the conversion of
queries RRD data according to the graph unit.
CMK-12958
Change-Id: I657421bb6198fa45615fdccced4bfa135ae687eb
Commit: 929b35f2f8b2f6707205e8400c75ff9f079fbc89
https://github.com/tribe29/checkmk/commit/929b35f2f8b2f6707205e8400c75ff9f0…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2023-04-27 (Thu, 27 Apr 2023)
Changed paths:
M cmk/gui/plugins/metrics/rrd_fetch.py
M cmk/utils/prediction.py
M tests/unit/cmk/gui/plugins/metrics/test_rrd_fetch.py
M tests/unit/cmk/utils/test_prediction_commons.py
Log Message:
-----------
Take unit conversions into account when fetching RRD data for graphs
CMK-12958
Change-Id: Ie1003a7028cc90d6aef58cfa117f65986203eccf
Commit: 7a23db16fd64a7ff596355d861a58f3942e38695
https://github.com/tribe29/checkmk/commit/7a23db16fd64a7ff596355d861a58f394…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2023-04-27 (Thu, 27 Apr 2023)
Changed paths:
M cmk/gui/plugins/metrics/rrd_fetch.py
M tests/unit/cmk/gui/plugins/metrics/test_rrd_fetch.py
Log Message:
-----------
Take unit conversions into account when merging multiple RRD columns
This functionality is used in some dashlets and painters after fetching
the data from livestatus.
CMK-12958
Change-Id: If58351e2c2c69aa1b44b168708764023db2637c9
Commit: b22da1e7fe3bb7f8020d6e7dd9cc31b02a301b91
https://github.com/tribe29/checkmk/commit/b22da1e7fe3bb7f8020d6e7dd9cc31b02…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2023-04-27 (Thu, 27 Apr 2023)
Changed paths:
M cmk/gui/type_defs.py
Log Message:
-----------
Historical & forecast metric painters: Simplify rendering
The rendering was unnecessarily complicated: After computing the final
value to be rendered, including metric translations and unit
conversions, this value was transformed into a perfomance data string.
This string was subsequently parsed to extract the numerical value. Not
only is this unnecessary, it would also soon lead to applying unit
conversions twice: Once after fetching the historical data and once
after parsing the artificially created performance data string.
CMK-12958
Change-Id: I578a5427924dc71228795c4410b007e3c6df5d51
Commit: b5e20fb99955ca189457232c0836b763baadd2fa
https://github.com/tribe29/checkmk/commit/b5e20fb99955ca189457232c0836b763b…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2023-04-27 (Thu, 27 Apr 2023)
Changed paths:
M cmk/gui/plugins/metrics/utils.py
M tests/unit/cmk/gui/plugins/metrics/test_metrics_utils.py
Log Message:
-----------
Take unit conversions into account when translating parsed perf data
This applies to perfometers, graph legends, some single-metric dashlets
and some views.
CMK-12958
Change-Id: Ic740407583a225230406fdabc3099cc81486e5f5
Commit: 8caca3d1f210babe5865b204372c02e3d8b75662
https://github.com/tribe29/checkmk/commit/8caca3d1f210babe5865b204372c02e3d…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2023-04-27 (Thu, 27 Apr 2023)
Changed paths:
M cmk/gui/metrics.py
Log Message:
-----------
Take unit conversions into account when rendering perfometer labels
We offer the option to put a constant number as a label. In this
(probably never occuring) case, we should convert.
CMK-12958
Change-Id: I5604dda4b976b2fcc45ddb66555682e05923712f
Commit: 0df3a63600fbb03a3483502f92b6b17c12d7a6a7
https://github.com/tribe29/checkmk/commit/0df3a63600fbb03a3483502f92b6b17c1…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2023-04-27 (Thu, 27 Apr 2023)
Changed paths:
M cmk/gui/metrics.py
M tests/unit/cmk/gui/test_metrics.py
Log Message:
-----------
Take unit conversions into account when rendering linear perfometers
CMK-12958
Change-Id: I174027bbdf611710d122ee3b8be6939f5a6f48a1
Commit: ef411d25a29107692b3abca9b76f752330524f3c
https://github.com/tribe29/checkmk/commit/ef411d25a29107692b3abca9b76f75233…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2023-04-27 (Thu, 27 Apr 2023)
Changed paths:
M cmk/gui/metrics.py
M tests/unit/cmk/gui/test_metrics.py
Log Message:
-----------
Take unit conversions into account when rendering logarithm. perfometers
CMK-12958
Change-Id: I7c22ac544043895610c57119daafa7d1e84ab232
Compare: https://github.com/tribe29/checkmk/compare/f30b1a77e212...ef411d25a291
Branch: refs/heads/2.2.0
Home: https://github.com/tribe29/checkmk
Commit: 15e2500a63b9a913fcd23eadf04ea064d8c9dd45
https://github.com/tribe29/checkmk/commit/15e2500a63b9a913fcd23eadf04ea064d…
Author: Ronny Bruska <ronny.bruska(a)tribe29.com>
Date: 2023-04-27 (Thu, 27 Apr 2023)
Changed paths:
M cmk/gui/wato/pages/rulesets.py
Log Message:
-----------
Do not allow to view rules without permission via url
* adjustment to werk #15480
* user could still see the rules if the url was called directly
SUP-13649
Change-Id: I043d7ad7ac7821f77f4e3b81ac1173a81484a34d
(cherry picked from commit 121c649a65ace32e2f8227a965f3861ab7084c72)
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 0a9b7cac0e1265121ad80ecc315e181ae94339b8
https://github.com/tribe29/checkmk/commit/0a9b7cac0e1265121ad80ecc315e181ae…
Author: Ronny Bruska <ronny.bruska(a)tribe29.com>
Date: 2023-04-27 (Thu, 27 Apr 2023)
Changed paths:
M cmk/gui/wato/pages/rulesets.py
Log Message:
-----------
Do not allow to view rules without permission via url
* adjustment to werk #15480
* user could still see the rules if the url was called directly
SUP-13649
Change-Id: I043d7ad7ac7821f77f4e3b81ac1173a81484a34d
Commit: 4a9c725118a553125eb3a9e5a6e0549d4ea1334f
https://github.com/tribe29/checkmk/commit/4a9c725118a553125eb3a9e5a6e0549d4…
Author: Simon Jess <simon.jess(a)tribe29.com>
Date: 2023-04-27 (Thu, 27 Apr 2023)
Changed paths:
M cmk/utils/licensing/usage.py
M tests/unit/cmk/utils/licensing/test_usage.py
Log Message:
-----------
licensing: No need for modifying (remote) histories anymore
- Checkmk>=2.1: License usage histories are updated during config update
Change-Id: I17fceb18db66174e85fa70eeb6e06df06935007d
Commit: 838a2962a0617b5a0c6d912befc3430d35410edb
https://github.com/tribe29/checkmk/commit/838a2962a0617b5a0c6d912befc3430d3…
Author: Simon Jess <simon.jess(a)tribe29.com>
Date: 2023-04-27 (Thu, 27 Apr 2023)
Changed paths:
M cmk/utils/licensing/usage.py
M tests/unit/cmk/utils/licensing/test_usage.py
Log Message:
-----------
licensing: Clarify parsing or updating license usage history
Change-Id: I3765c4bc1f334ff41f570b831987088e3069585d
Commit: 1225f0f210a2f6716f64f1240b4f87e5b25cb551
https://github.com/tribe29/checkmk/commit/1225f0f210a2f6716f64f1240b4f87e5b…
Author: Simon Jess <simon.jess(a)tribe29.com>
Date: 2023-04-27 (Thu, 27 Apr 2023)
Changed paths:
M cmk/utils/licensing/usage.py
M tests/unit/cmk/utils/licensing/test_usage.py
Log Message:
-----------
licensing: Dissolve load/update license usage history funcs
Change-Id: Ib6e7f75cc8f7adf57d79b9422b49d3452a2595c9
Commit: fe8be79aa095a8696f51dab61f68d4f94a83878f
https://github.com/tribe29/checkmk/commit/fe8be79aa095a8696f51dab61f68d4f94…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2023-04-27 (Thu, 27 Apr 2023)
Changed paths:
M cmk/ec/event.py
M cmk/ec/main.py
M cmk/utils/type_defs/notify.py
M tests/testlib/event_console.py
M tests/unit/cmk/ec/test_ec_changestate.py
M tests/unit/cmk/ec/test_ec_delete.py
M tests/unit/cmk/ec/test_ec_update.py
M tests/unit/cmk/gui/mkeventd/test_wato.py
Log Message:
-----------
NewType host name #13
Change-Id: Ic3627cadcb801fd4b0fd35010fcaea698e064c43
Commit: e9f78c489c6e4509d07e618e5b65e954fdb779c3
https://github.com/tribe29/checkmk/commit/e9f78c489c6e4509d07e618e5b65e954f…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2023-04-27 (Thu, 27 Apr 2023)
Changed paths:
M cmk/base/config.py
M cmk/base/dump_host.py
M cmk/base/ip_lookup.py
M cmk/base/modes/check_mk.py
M cmk/base/parent_scan.py
M cmk/base/sources.py
M cmk/gui/watolib/network_scan.py
M tests/integration/cmk/lib/snmplib/snmp_helpers.py
M tests/integration/cmk/lib/snmplib/test_snmp_modes.py
M tests/integration/cmk/lib/snmplib/test_snmp_table.py
M tests/testlib/snmp.py
M tests/unit/cmk/base/agent_based/discovery/test_discovery.py
M tests/unit/cmk/base/sources/test_data_sources.py
M tests/unit/cmk/base/test_core_config.py
M tests/unit/cmk/base/test_ip_lookup.py
M tests/unit/cmk/checkers/test_classic_snmp.py
M tests/unit/cmk/checkers/test_fetchers.py
M tests/unit/cmk/checkers/test_summarizers.py
M tests/unit/cmk/ec/test_host_config.py
M tests/unit/cmk/snmplib/test_snmp_scan.py
M tests/unit/cmk/snmplib/test_snmplib_snmp_table.py
Log Message:
-----------
NewType host address #1
Remains: 10 errors in 6 files
Change-Id: I75d120a0bed8efb9ce8c3d798a5523748d3b30ff
Commit: 4e66b15787d71e9c0f80799108329b47803ff102
https://github.com/tribe29/checkmk/commit/4e66b15787d71e9c0f80799108329b478…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2023-04-27 (Thu, 27 Apr 2023)
Changed paths:
M cmk/base/automations/check_mk.py
M cmk/base/config.py
M cmk/base/dump_host.py
M cmk/base/modes/check_mk.py
Log Message:
-----------
NewType host address #2
Remains: 1 error in 1 file
Change-Id: I77b6837a192b44c8dd57b5c50d34d2ce34580a81
Compare: https://github.com/tribe29/checkmk/compare/77a5075818a6...4e66b15787d7
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 32230c50d1f28c84f440745f16237b0a51496a09
https://github.com/tribe29/checkmk/commit/32230c50d1f28c84f440745f16237b0a5…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2023-04-27 (Thu, 27 Apr 2023)
Changed paths:
M cmk/gui/plugins/metrics/unit.py
M cmk/gui/type_defs.py
Log Message:
-----------
Units: Introduce optional field for conversion
Since converting when doing the actual rendering is too late, we instead
need a function to convert the actual data points.
Also remove the current conversion mechanism for the temperature unit
and add the new field instead. As of this commit, the conversion of the
temperature unit is temporarily broken, until we apply the conversion to
the various places where data is retrieved from livestatus.
CMK-12958
Change-Id: Ie1c67d8c9064e47754ec739ba46ebd5c7aafb9f9
Commit: 99e0ed47c1d1bcd75477a59f0ec3f7efac819ae5
https://github.com/tribe29/checkmk/commit/99e0ed47c1d1bcd75477a59f0ec3f7efa…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2023-04-27 (Thu, 27 Apr 2023)
Changed paths:
M cmk/utils/livestatus_helpers/testing.py
Log Message:
-----------
livestatus mocking: Add option to expect query for a single site
This will be needed in the next commit for testing the conversion of
queries RRD data according to the graph unit.
CMK-12958
Change-Id: I657421bb6198fa45615fdccced4bfa135ae687eb
Commit: 5a86a9ca00382b7ba2ad796d9550c89805a26c9c
https://github.com/tribe29/checkmk/commit/5a86a9ca00382b7ba2ad796d9550c8980…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2023-04-27 (Thu, 27 Apr 2023)
Changed paths:
M cmk/gui/plugins/metrics/rrd_fetch.py
M cmk/utils/prediction.py
M tests/unit/cmk/gui/plugins/metrics/test_rrd_fetch.py
M tests/unit/cmk/utils/test_prediction_commons.py
Log Message:
-----------
Take unit conversions into account when fetching RRD data for graphs
CMK-12958
Change-Id: Ie1003a7028cc90d6aef58cfa117f65986203eccf
Commit: 0b6b3afe6da2e989f9c915b0e8c8af067807172f
https://github.com/tribe29/checkmk/commit/0b6b3afe6da2e989f9c915b0e8c8af067…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2023-04-27 (Thu, 27 Apr 2023)
Changed paths:
M cmk/gui/plugins/metrics/rrd_fetch.py
M tests/unit/cmk/gui/plugins/metrics/test_rrd_fetch.py
Log Message:
-----------
Take unit conversions into account when merging multiple RRD columns
This functionality is used in some dashlets and painters after fetching
the data from livestatus.
CMK-12958
Change-Id: If58351e2c2c69aa1b44b168708764023db2637c9
Commit: ad848e1ab2d79dbd5e4768ad897db33c87317f60
https://github.com/tribe29/checkmk/commit/ad848e1ab2d79dbd5e4768ad897db33c8…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2023-04-27 (Thu, 27 Apr 2023)
Changed paths:
M cmk/gui/type_defs.py
Log Message:
-----------
Historical & forecast metric painters: Simplify rendering
The rendering was unnecessarily complicated: After computing the final
value to be rendered, including metric translations and unit
conversions, this value was transformed into a perfomance data string.
This string was subsequently parsed to extract the numerical value. Not
only is this unnecessary, it would also soon lead to applying unit
conversions twice: Once after fetching the historical data and once
after parsing the artificially created performance data string.
CMK-12958
Change-Id: I578a5427924dc71228795c4410b007e3c6df5d51
Commit: 296ade93203292bc493acd5169033410c8564fd2
https://github.com/tribe29/checkmk/commit/296ade93203292bc493acd5169033410c…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2023-04-27 (Thu, 27 Apr 2023)
Changed paths:
M cmk/gui/plugins/metrics/utils.py
M tests/unit/cmk/gui/plugins/metrics/test_metrics_utils.py
Log Message:
-----------
Take unit conversions into account when translating parsed perf data
This applies to perfometers, graph legends, some single-metric dashlets
and some views.
CMK-12958
Change-Id: Ic740407583a225230406fdabc3099cc81486e5f5
Commit: ad4ca62a9c3fdd4abf8d1a7f4d36f3ddfbaeb34e
https://github.com/tribe29/checkmk/commit/ad4ca62a9c3fdd4abf8d1a7f4d36f3ddf…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2023-04-27 (Thu, 27 Apr 2023)
Changed paths:
M cmk/gui/metrics.py
Log Message:
-----------
Take unit conversions into account when rendering perfometer labels
We offer the option to put a constant number as a label. In this
(probably never occuring) case, we should convert.
CMK-12958
Change-Id: I5604dda4b976b2fcc45ddb66555682e05923712f
Commit: 3a4010f3246417bc1235f495939b14d49ea16e95
https://github.com/tribe29/checkmk/commit/3a4010f3246417bc1235f495939b14d49…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2023-04-27 (Thu, 27 Apr 2023)
Changed paths:
M cmk/gui/metrics.py
M tests/unit/cmk/gui/test_metrics.py
Log Message:
-----------
Take unit conversions into account when rendering linear perfometers
CMK-12958
Change-Id: I174027bbdf611710d122ee3b8be6939f5a6f48a1
Commit: 72902541d391858403497d60bfe51e0cbbf02e02
https://github.com/tribe29/checkmk/commit/72902541d391858403497d60bfe51e0cb…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2023-04-27 (Thu, 27 Apr 2023)
Changed paths:
M cmk/gui/metrics.py
M tests/unit/cmk/gui/test_metrics.py
Log Message:
-----------
Take unit conversions into account when rendering logarithm. perfometers
CMK-12958
Change-Id: I7c22ac544043895610c57119daafa7d1e84ab232
Commit: 44fb161199c0b4251c514466b40ef6727122c525
https://github.com/tribe29/checkmk/commit/44fb161199c0b4251c514466b40ef6727…
Author: Sven Panne <sven.panne(a)tribe29.com>
Date: 2023-04-27 (Thu, 27 Apr 2023)
Changed paths:
M Pipfile
M Pipfile.lock
M tests/integration/omd/test_python.py
Log Message:
-----------
Revert "Updated a few package dependencies."
The package builds had extremely strange problems with that.
This reverts commit 7d98d04ef022e291aa12bed09318b1c0de97df43.
Commit: 77a5075818a60e85fa4d16d51674ffda28ff3c3c
https://github.com/tribe29/checkmk/commit/77a5075818a60e85fa4d16d51674ffda2…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2023-04-27 (Thu, 27 Apr 2023)
Changed paths:
M tests/testlib/site.py
Log Message:
-----------
Disable helgrind (CMC tooling) in tests
The current warnings are all related to one of
- livestatus
- move/memmove
- thread notifications
helgrind seems to be unfamiliar with the latest two
very C++-heavy features. After thorough investigation,
they appear to be false positives.
livestatus is known to *not* be thread safe.
See Also:
https://github.com/CppMicroServices/CppMicroServices/issues/441
CMK-12511
Change-Id: Idab4e60f0615ef51da7e5de1342c9ee0ce723e34
Compare: https://github.com/tribe29/checkmk/compare/c7914d614d5a...77a5075818a6