Branch: refs/heads/2.0.0
Home: https://github.com/Checkmk/checkmk
Commit: bcaa8db5639a6e1c915c23e697adb8d266ead734
https://github.com/Checkmk/checkmk/commit/bcaa8db5639a6e1c915c23e697adb8d26…
Author: Leonardo Petrora <leonardo.petrora(a)checkmk.com>
Date: 2023-07-13 (Thu, 13 Jul 2023)
Changed paths:
A .werks/15979
M cmk/utils/bi/bi_packs.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_bi.py
Log Message:
-----------
15979 FIX bi: return 404 status code when trying to retrieve a non existing rule
Prior to this werk, the get bi rule endpoint returned a 500 status code whenever
the user tried to get a non existing rule. This werk fixes this and returns a
404 status code instead.
Ticket: SUP-14765
Change-Id: I0efb120c1332382eb464c210d27af622304407c6
Branch: refs/heads/master
Home: https://github.com/Checkmk/checkmk
Commit: 4a8da3e434244d222f8fa4188f8a156ca0a03e31
https://github.com/Checkmk/checkmk/commit/4a8da3e434244d222f8fa4188f8a156ca…
Author: Lars Michelsen <lm(a)checkmk.com>
Date: 2023-07-13 (Thu, 13 Jul 2023)
Changed paths:
M cmk/gui/plugins/wato/utils/__init__.py
M cmk/gui/wato/pages/parentscan.py
M cmk/gui/watolib/network_scan.py
Log Message:
-----------
Fix initially missed refactorings
I initially missed them when searching for call sites. Sadly mypy could
also not help, because the call sites were not typed yet.
Change-Id: I1d4c4f2cadf65b074a1ab49d1cd90e3e4e550f7a
Commit: 15dd8fd36f623f3caeb052a5dc1910b4637ca930
https://github.com/Checkmk/checkmk/commit/15dd8fd36f623f3caeb052a5dc1910b46…
Author: Mathias Laurin <mathias.laurin(a)checkmk.com>
Date: 2023-07-13 (Thu, 13 Jul 2023)
Changed paths:
M cmk/base/agent_based/checking/_checking.py
M cmk/base/agent_based/discovery/_discovery.py
M cmk/base/checkers.py
M cmk/base/sources/_api.py
M cmk/base/sources/_builder.py
M cmk/base/sources/_sources.py
M cmk/checkengine/_api.py
M cmk/checkengine/_parser.py
M cmk/checkengine/_parsersnmp.py
M cmk/checkengine/type_defs.py
M cmk/fetchers/_abstract.py
M cmk/fetchers/_api.py
M cmk/fetchers/_snmp.py
M cmk/fetchers/cache.py
M cmk/fetchers/filecache/_cache.py
M cmk/fetchers/filecache/_snmp.py
M cmk/snmplib/type_defs.py
M cmk/utils/sectionname.py
M tests/unit/cmk/base/agent_based/discovery/test_discovery.py
M tests/unit/cmk/base/agent_based/test_base_inventory.py
M tests/unit/cmk/checkers/test_fetchers.py
M tests/unit/cmk/checkers/test_parsers.py
Log Message:
-----------
HostSections: Simplify typing
CMK-13874
Change-Id: I13c7dd74a102435bc28fca144cb8bcdc82f09c7b
Commit: 77e8ce23edf6faad84294db5c193cf7a66951f73
https://github.com/Checkmk/checkmk/commit/77e8ce23edf6faad84294db5c193cf7a6…
Author: Mathias Laurin <mathias.laurin(a)checkmk.com>
Date: 2023-07-13 (Thu, 13 Jul 2023)
Changed paths:
M cmk/checkengine/_parser.py
M cmk/checkengine/_parseragent.py
M cmk/checkengine/_parsersnmp.py
Log Message:
-----------
HostSections: Simplify typing #2
CMK-13874
Change-Id: I03612e31c9cbd5336c6f8f862da508c559b77558
Compare: https://github.com/Checkmk/checkmk/compare/1c2b59d4055f...77e8ce23edf6
Branch: refs/heads/master
Home: https://github.com/Checkmk/checkmk
Commit: 25c70669b92f7c3165c066671062b5fea6e036f5
https://github.com/Checkmk/checkmk/commit/25c70669b92f7c3165c066671062b5fea…
Author: Gav <gavin.mcguigan(a)checkmk.com>
Date: 2023-07-12 (Wed, 12 Jul 2023)
Changed paths:
A .werks/15892
M cmk/gui/page_menu_utils.py
Log Message:
-----------
15892 FIX ntop_alerts: rename alert tabs in ntop alerts dashboard
Previously, the alert tabs were named Engaged, Host, Flow. This didn't
align correctly with ntopng's own dashboard. They have now been renamed
to Engaged Host, Past Host and Past Flow.
Change-Id: I6cddd8d33f84ec06589478214e3e1531d54a11f2
Commit: a6935d55ddb8a0506d10ba0668289f2fc4d5f238
https://github.com/Checkmk/checkmk/commit/a6935d55ddb8a0506d10ba0668289f2fc…
Author: Gav <gavin.mcguigan(a)checkmk.com>
Date: 2023-07-12 (Wed, 12 Jul 2023)
Changed paths:
A .werks/15893
Log Message:
-----------
15893 FIX ntop_alerts: introduce pagination to ntop alerts dashboard
Previously the alerts dashboard would fetch 5 hours of alert data
by default or the time range selected by the user via the time series
graphs. This caused performance issues since the number of alerts
could vary greatly, often resulting in timeouts. This werk addresses
this problem by introducing pagination on the backend. We now only
fetch 20 alerts in any given api call. The user can then request
more using the next button.
Change-Id: I47c6bb1fd4bff1b1276f67541ab5d75326602a91
Compare: https://github.com/Checkmk/checkmk/compare/58b459c4e120...a6935d55ddb8
Branch: refs/heads/master
Home: https://github.com/Checkmk/checkmk
Commit: e1c3cb16d68bd35dce1b64285ee510c969cc0dd7
https://github.com/Checkmk/checkmk/commit/e1c3cb16d68bd35dce1b64285ee510c96…
Author: Lars Michelsen <lm(a)checkmk.com>
Date: 2023-07-12 (Wed, 12 Jul 2023)
Changed paths:
M cmk/gui/plugins/openapi/endpoints/folder_config/__init__.py
M cmk/gui/plugins/openapi/endpoints/host_config/__init__.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/parentscan.py
M cmk/gui/watolib/groups.py
M cmk/gui/watolib/host_rename.py
M cmk/gui/watolib/hosts_and_folders.py
M cmk/gui/watolib/network_scan.py
M cmk/gui/watolib/tags.py
M cmk/post_rename_site/plugins/actions/hosts_and_folders.py
M cmk/update_config/plugins/actions/hosts_and_folders.py
M tests/unit/cmk/gui/watolib/test_hosts_and_folders.py
M tests/unit/cmk/post_rename_site/plugins/actions/test_hosts_and_folders_action.py
M tests/unit/cmk/update_config/plugins/actions/test_hosts_and_folders.py
Log Message:
-----------
Purge WithAttributes mixin
The accessors prevented easy typing and did not add enough value.
So we hold the attributes now as a member of CREFolder, CREHost and
SearchFolder for the sake of simplicity.
Had to weaken the attributes typing at some places to be able to
merge it. It's temporarily acceptable since the follow up commit
will change the type to a TypedDict, which will make it work again
in a better way.
Change-Id: I23d92a3d43b761a21939afe7c47ec6633c10040a
Commit: 58b459c4e120c0e9708ecb045ca7cb47adfcc9dd
https://github.com/Checkmk/checkmk/commit/58b459c4e120c0e9708ecb045ca7cb47a…
Author: Lars Michelsen <lm(a)checkmk.com>
Date: 2023-07-12 (Wed, 12 Jul 2023)
Changed paths:
M cmk/gui/watolib/hosts_and_folders.py
Log Message:
-----------
Add missing type hints to SearchFolder
Change-Id: I83c95c58008fdcf0f759c311957c445ab27345d2
Compare: https://github.com/Checkmk/checkmk/compare/a340ebf4f738...58b459c4e120