Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 553cd730d114792c90cce7a1953fc791630227ca
https://github.com/tribe29/checkmk/commit/553cd730d114792c90cce7a1953fc7916…
Author: Solomon Jacobs <solomon.jacobs(a)tribe29.com>
Date: 2022-05-02 (Mon, 02 May 2022)
Changed paths:
M cmk/special_agents/agent_kube.py
M cmk/special_agents/utils_kubernetes/schemata/api.py
M cmk/special_agents/utils_kubernetes/transform.py
M tests/unit/cmk/special_agents/agent_kubernetes/test_agent_kube_daemon_sets.py
M tests/unit/cmk/special_agents/agent_kubernetes/test_agent_kube_deployments.py
M tests/unit/cmk/special_agents/agent_kubernetes/test_agent_kube_namespace.py
M tests/unit/cmk/special_agents/agent_kubernetes/test_agent_kube_statefulsets.py
M tests/unit/cmk/special_agents/agent_kubernetes/test_agent_kubernetes_api_nodes.py
M tests/unit/cmk/special_agents/agent_kubernetes/test_agent_kubernetes_api_pods.py
Log Message:
-----------
transform: parse annotations
CMK-9882
Change-Id: Ie0c86ecd9e93ee637502b3bc35f679dd01c9cebe
Commit: bc7bffed86790142ec4b0bba2bb0b878b1981feb
https://github.com/tribe29/checkmk/commit/bc7bffed86790142ec4b0bba2bb0b878b…
Author: Solomon Jacobs <solomon.jacobs(a)tribe29.com>
Date: 2022-05-02 (Mon, 02 May 2022)
Changed paths:
M cmk/base/plugins/agent_based/kube_daemonset_info.py
M cmk/base/plugins/agent_based/kube_deployment_info.py
M cmk/base/plugins/agent_based/kube_statefulset_info.py
M cmk/base/plugins/agent_based/utils/kube.py
M cmk/base/plugins/agent_based/utils/kube_info.py
M cmk/special_agents/agent_kube.py
M cmk/special_agents/utils_kubernetes/schemata/section.py
M tests/unit/cmk/base/plugins/agent_based/test_inventory_kube_daemonset.py
M tests/unit/cmk/base/plugins/agent_based/test_inventory_kube_deployment.py
M tests/unit/cmk/base/plugins/agent_based/test_inventory_kube_statefulset.py
M tests/unit/cmk/base/plugins/agent_based/test_kube_daemonset_info.py
M tests/unit/cmk/base/plugins/agent_based/test_kube_deployment_info.py
M tests/unit/cmk/base/plugins/agent_based/test_kube_statefulset_info.py
M tests/unit/cmk/base/plugins/agent_based/test_section_host_label_doc.py
Log Message:
-----------
KUBE: add host label cmk/kubernetes/annotation to controllers
CMK-9882
Change-Id: I24c01d815dc4c2732de42fbb6fc2bcd5ba406c8d
Commit: 0cb7f21638574d6b19cb4cc787464c80d350acc3
https://github.com/tribe29/checkmk/commit/0cb7f21638574d6b19cb4cc787464c80d…
Author: Solomon Jacobs <solomon.jacobs(a)tribe29.com>
Date: 2022-05-02 (Mon, 02 May 2022)
Changed paths:
M cmk/base/plugins/agent_based/kube_namespace_info.py
M cmk/base/plugins/agent_based/utils/kube.py
M cmk/special_agents/agent_kube.py
M cmk/special_agents/utils_kubernetes/schemata/section.py
M tests/unit/cmk/base/plugins/agent_based/test_inventory_kube_namespace.py
M tests/unit/cmk/base/plugins/agent_based/test_kube_namespace_info.py
Log Message:
-----------
KUBE: add host label cmk/kubernetes/annotation to Namespace
CMK-9882
Change-Id: Iea64438d63e9641d7619bf64ac2f68c7eb68c455
Commit: 369ad33dc31408e9b1715d0e1502020ec697e809
https://github.com/tribe29/checkmk/commit/369ad33dc31408e9b1715d0e1502020ec…
Author: Solomon Jacobs <solomon.jacobs(a)tribe29.com>
Date: 2022-05-02 (Mon, 02 May 2022)
Changed paths:
M cmk/base/plugins/agent_based/kube_node_info.py
M cmk/base/plugins/agent_based/utils/kube.py
M cmk/special_agents/agent_kube.py
M cmk/special_agents/utils_kubernetes/schemata/section.py
M tests/unit/cmk/base/plugins/agent_based/kube_node_info.py
M tests/unit/cmk/base/plugins/agent_based/test_inventory_kube_node.py
Log Message:
-----------
KUBE: add host label cmk/kubernetes/annotation to Node
CMK-9882
Change-Id: Ic1b50a289f941184c2e45d731f0f8c86b28c3d80
Commit: 59be06fc01b0f071374704c9318380ac81ac5a5d
https://github.com/tribe29/checkmk/commit/59be06fc01b0f071374704c9318380ac8…
Author: Solomon Jacobs <solomon.jacobs(a)tribe29.com>
Date: 2022-05-02 (Mon, 02 May 2022)
Changed paths:
M cmk/base/plugins/agent_based/kube_pod_info.py
M cmk/base/plugins/agent_based/utils/kube.py
M cmk/special_agents/agent_kube.py
M cmk/special_agents/utils_kubernetes/schemata/section.py
M tests/unit/cmk/base/plugins/agent_based/test_inventory_kube_pod.py
M tests/unit/cmk/base/plugins/agent_based/test_kube_pod_info.py
Log Message:
-----------
KUBE: add host label cmk/kubernetes/annotation to Pod
CMK-9882
Change-Id: I86ab96a3a9eb2f68e8c90d7a3cebe50850a87b46
Commit: 5ff7963e45f105fea6ef61997d3cc28ba1f153b3
https://github.com/tribe29/checkmk/commit/5ff7963e45f105fea6ef61997d3cc28ba…
Author: Solomon Jacobs <solomon.jacobs(a)tribe29.com>
Date: 2022-05-02 (Mon, 02 May 2022)
Changed paths:
A .werks/14121
M checks/agent_kube
M cmk/base/plugins/agent_based/kube_namespace_info.py
M cmk/base/plugins/agent_based/kube_node_info.py
M cmk/base/plugins/agent_based/kube_pod_info.py
M cmk/base/plugins/agent_based/utils/kube.py
M cmk/base/plugins/agent_based/utils/kube_info.py
M cmk/gui/plugins/wato/special_agents/kube.py
M cmk/special_agents/agent_kube.py
M cmk/special_agents/utils_kubernetes/schemata/section.py
M tests/unit/checks/test_agent_kube.py
M tests/unit/cmk/special_agents/agent_kube/test_daemon_set.py
M tests/unit/cmk/special_agents/agent_kube/test_deployment.py
M tests/unit/cmk/special_agents/agent_kube/test_node.py
M tests/unit/cmk/special_agents/agent_kube/test_statefulset.py
Log Message:
-----------
14121 KUBE: Import annotations as host labels
By default, Checkmk does not import Kubernetes annotations. With this
werk, this bevaviour can be configured via the option `Import
annotations as host labels` in the rule `Kubernetes`. The option
allows importing any Kubernetes annotation that is a valid Kubernetes
label. These imported annotations are added as host labels to their
respective piggyback host using the syntax
`cmk/kubernetes/annotation/{key}:{value}`. You can further restrict
the imported annotations by specifying a pattern which Checkmk
searches for in the key of the annotation.
Werk was implemented via the following Change-Ids:
I9530f13a1a4c4ead3ea214762fbdc3e4c5e5bdd4
I86ab96a3a9eb2f68e8c90d7a3cebe50850a87b46
Ic1b50a289f941184c2e45d731f0f8c86b28c3d80
Iea64438d63e9641d7619bf64ac2f68c7eb68c455
I24c01d815dc4c2732de42fbb6fc2bcd5ba406c8d
Ie0c86ecd9e93ee637502b3bc35f679dd01c9cebe
The change in this commit allows users to selectively import
annotations.
CMK-9882
Change-Id: I9530f13a1a4c4ead3ea214762fbdc3e4c5e5bdd4
Commit: 9fb68d8eb79134788f33560e99a88f659e1a661f
https://github.com/tribe29/checkmk/commit/9fb68d8eb79134788f33560e99a88f659…
Author: Solomon Jacobs <solomon.jacobs(a)tribe29.com>
Date: 2022-05-02 (Mon, 02 May 2022)
Changed paths:
R tests/unit/cmk/base/plugins/agent_based/kube_node_info.py
A tests/unit/cmk/base/plugins/agent_based/test_kube_node_info.py
Log Message:
-----------
KUBE: fix incorrectly named test file
Some non-essential scripts assume that test files start with test.
Change-Id: Icb19c9370db4c482f45f2430bcbcc022ae11a025
Commit: 221dad208e2e9b6242c778eebc5d490b1c01a188
https://github.com/tribe29/checkmk/commit/221dad208e2e9b6242c778eebc5d490b1…
Author: Solomon Jacobs <solomon.jacobs(a)tribe29.com>
Date: 2022-05-02 (Mon, 02 May 2022)
Changed paths:
M cmk/special_agents/agent_kube.py
Log Message:
-----------
KUBE: improved typing for monitored_objects
Accessing arguments.monitored_objects would sometimes lead to bugs.
For example, writing
`"node" in arguments.monitored_objects`
instead of
`"nodes" in arguments.monitored_objects`
With this change, typos become impossible, when using the enum.
Moreover, the agent now throws an error, if an unknown
monitored object is provided.
Change-Id: Id788afdc8cc1848bc68aa55134174e3c0cd6e92f
Commit: dae2f6540630ed9160b15bfc20fea26c8d51550a
https://github.com/tribe29/checkmk/commit/dae2f6540630ed9160b15bfc20fea26c8…
Author: Solomon Jacobs <solomon.jacobs(a)tribe29.com>
Date: 2022-05-02 (Mon, 02 May 2022)
Changed paths:
M cmk/gui/plugins/wato/check_parameters/kube_pod_status.py
M cmk/gui/plugins/wato/special_agents/kube.py
Log Message:
-----------
KUBE: remove duplicated help text
Previously, the help text would be shown twice.
Change-Id: I3f1ac7cf3be762a387731ae54661fdcce6939f62
Compare: https://github.com/tribe29/checkmk/compare/482061907aab...dae2f6540630
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: a36cea8d89ce45c3ecfe0e4b879bfcdf60b6fa7b
https://github.com/tribe29/checkmk/commit/a36cea8d89ce45c3ecfe0e4b879bfcdf6…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2022-05-02 (Mon, 02 May 2022)
Changed paths:
M cmk/gui/utils/__init__.py
Log Message:
-----------
Remove extraneous , in typing
Change-Id: Icfd6418163e095b3d954e73516c4cc6ff66cc081
Commit: 5ea2e20b07576dd7ca5008fcddc7b8beb9c9efa6
https://github.com/tribe29/checkmk/commit/5ea2e20b07576dd7ca5008fcddc7b8beb…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2022-05-02 (Mon, 02 May 2022)
Changed paths:
M cmk/gui/mkeventd.py
Log Message:
-----------
Remove unhelpful comment
Unhelpful or meaningless comments just add noise.
> It's OK to...
is not helpful. If anything, one should write *why* the layer violation
is acceptable in this particular case, or better yet fix the code.
Either this code or the layering checker.
Change-Id: I801ce44edf110d0aad6cab475e7483600cb75c93
Commit: 482061907aab5b7220eeccf98d073747eb9042f5
https://github.com/tribe29/checkmk/commit/482061907aab5b7220eeccf98d073747e…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2022-05-02 (Mon, 02 May 2022)
Changed paths:
M cmk/gui/watolib/__init__.py
Log Message:
-----------
Remove transient and unused imports #23
7 more unused imports
CMK-10313
Change-Id: I4fbae3ad15da2bc4028ce7f24116f7216a9447fb
Compare: https://github.com/tribe29/checkmk/compare/c9245307374d...482061907aab
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 5fe1a9f98becd10afc41058ced356837280c2a01
https://github.com/tribe29/checkmk/commit/5fe1a9f98becd10afc41058ced3568372…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2022-05-02 (Mon, 02 May 2022)
Changed paths:
M cmk/gui/plugins/wato/utils/__init__.py
M cmk/gui/wato/__init__.py
M cmk/gui/wato/pages/fetch_agent_output.py
M cmk/gui/wato/pages/host_rename.py
M cmk/gui/wato/pages/notifications.py
M cmk/gui/wato/pages/parentscan.py
M cmk/gui/wato/pages/users.py
M cmk/gui/watolib/__init__.py
Log Message:
-----------
Remove transient and unused imports #21
Clean up
- cmk.gui.watolib.wato_background_job
and a few imports that were barely used, if at all,
- cmk.gui.watolib.user_scripts
- cmk.gui.watolib.users
CMK-10313
Change-Id: Ia8892ca6e5fdedf4863cc7b4c2aa5159c5b82e08