Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 6e24269549988be726564b5c45c91fd17ffb30e4
https://github.com/tribe29/checkmk/commit/6e24269549988be726564b5c45c91fd17…
Author: Óscar Nájera <oscar.najera(a)tribe29.com>
Date: 2022-03-21 (Mon, 21 Mar 2022)
Changed paths:
A .werks/13619
M cmk/gui/views/inventory.py
Log Message:
-----------
13619 FIX Fix crash due to dashboard's ill configured with software inventory object restriction
If you configured a dashboard with the object restriction "show information of a
single software package", that setting produced a misconfiguration of the
dashboard specification. When updating to checkmk 2.1 your site is unusable and
you can only see a crash report with the message:
TypeError ('NoneType' object is not iterable)
This werk fixes the crash, yet we still recommend to remove dashboards that use
that restriction.
Fix method return type for dynamically created class
VisualInfo.single_spec(self) -> List[Tuple[str, ValueSpec]]
Thus the dynamically generated class, which we can't typecheck must
respect this return value.
This bug is similar to what is fixed with 3364. Yet instead of having an
if clause to deal with None in cmk.gui.visuals.info_params better
respect the VisualInfo.single_spec return type
CMK-10007
Change-Id: Ibe122571f4d00f4bff017eb2b1397e967780dc4d
Branch: refs/heads/2.1.0
Home: https://github.com/tribe29/checkmk
Commit: 940272ee8ff5f21877d85ba320e417a989a7b787
https://github.com/tribe29/checkmk/commit/940272ee8ff5f21877d85ba320e417a98…
Author: Óscar Nájera <oscar.najera(a)tribe29.com>
Date: 2022-03-21 (Mon, 21 Mar 2022)
Changed paths:
A .werks/13619
M cmk/gui/plugins/views/inventory.py
Log Message:
-----------
13619 FIX Fix crash due to dashboard's ill configured with software inventory object restriction
If you configured a dashboard with the object restriction "show information of a
single software package", that setting produced a misconfiguration of the
dashboard specification. When updating to checkmk 2.1 your site is unusable and
you can only see a crash report with the message:
TypeError ('NoneType' object is not iterable)
This werk fixes the crash, yet we still recommend to remove dashboards that use
that restriction.
Fix method return type for dynamically created class
VisualInfo.single_spec(self) -> List[Tuple[str, ValueSpec]]
Thus the dynamically generated class, which we can't typecheck must
respect this return value.
This bug is similar to what is fixed with 3364. Yet instead of having an
if clause to deal with None in cmk.gui.visuals.info_params better
respect the VisualInfo.single_spec return type
CMK-10007
Change-Id: Ibe122571f4d00f4bff017eb2b1397e967780dc4d
Branch: refs/heads/2.1.0
Home: https://github.com/tribe29/checkmk
Commit: d314b4b939fd3e930d42132315fd0a6664bddbcd
https://github.com/tribe29/checkmk/commit/d314b4b939fd3e930d42132315fd0a666…
Author: Wontek Hong <wontek.hong(a)tribe29.com>
Date: 2022-03-21 (Mon, 21 Mar 2022)
Changed paths:
M cmk/base/plugins/agent_based/inventory_kube_daemonset.py
M cmk/base/plugins/agent_based/inventory_kube_deployment.py
M cmk/base/plugins/agent_based/inventory_kube_node.py
M cmk/base/plugins/agent_based/inventory_kube_pod.py
M cmk/base/plugins/agent_based/inventory_kube_statefulset.py
M cmk/base/plugins/agent_based/kube_cluster_api_health.py
M cmk/base/plugins/agent_based/kube_cpu.py
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_memory.py
M cmk/base/plugins/agent_based/kube_node_container_count.py
M cmk/base/plugins/agent_based/kube_node_info.py
M cmk/base/plugins/agent_based/kube_node_kubelet.py
M cmk/base/plugins/agent_based/kube_pod_conditions.py
M cmk/base/plugins/agent_based/kube_pod_containers.py
M cmk/base/plugins/agent_based/kube_pod_info.py
M cmk/base/plugins/agent_based/kube_pod_resources.py
M cmk/base/plugins/agent_based/kube_pod_restarts.py
M cmk/base/plugins/agent_based/kube_pod_status.py
M cmk/base/plugins/agent_based/kube_replicas.py
M cmk/base/plugins/agent_based/kube_statefulset_info.py
M cmk/base/plugins/agent_based/kube_uptime.py
M cmk/base/plugins/agent_based/utils/k8s.py
M cmk/base/plugins/agent_based/utils/kube.py
M cmk/base/plugins/agent_based/utils/kube_info.py
M cmk/base/plugins/agent_based/utils/kube_inventory.py
M cmk/base/plugins/agent_based/utils/kube_resources.py
M cmk/base/plugins/agent_based/utils/kube_strategy.py
M tests/unit/cmk/base/plugins/agent_based/kube_node_info.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_node.py
M tests/unit/cmk/base/plugins/agent_based/test_inventory_kube_pod.py
M tests/unit/cmk/base/plugins/agent_based/test_inventory_kube_statefulset.py
M tests/unit/cmk/base/plugins/agent_based/test_kube_cluster_api_health.py
M tests/unit/cmk/base/plugins/agent_based/test_kube_cpu.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_memory.py
M tests/unit/cmk/base/plugins/agent_based/test_kube_node_kubelet.py
M tests/unit/cmk/base/plugins/agent_based/test_kube_pod_info.py
M tests/unit/cmk/base/plugins/agent_based/test_kube_pod_resources.py
M tests/unit/cmk/base/plugins/agent_based/test_kube_pod_restarts.py
M tests/unit/cmk/base/plugins/agent_based/test_kube_pod_status.py
M tests/unit/cmk/base/plugins/agent_based/test_kube_replicas.py
M tests/unit/cmk/base/plugins/agent_based/test_kube_statefulset_info.py
M tests/unit/cmk/base/plugins/agent_based/utils/test_kube.py
M tests/unit/cmk/base/plugins/agent_based/utils/test_kube_strategy.py
M tests/unit/cmk/special_agents/agent_kubernetes/test_agent_kubernetes_section_schemas.py
Log Message:
-----------
utils/k8s: moving of definitions and deprecation of file
All schema and type definitions in utils/k8s are moved to
utils/kube. Unused schemas PerformanceMetric and PerformanceContainer
are removed along with the double defined NodeName NewType. A
deprecation header is also added to the file.
Change-Id: I003f1332869c7f1d1444a084487c12243a00a574
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: edc9a10af01f5587344296e2420bf5c2b332e6f3
https://github.com/tribe29/checkmk/commit/edc9a10af01f5587344296e2420bf5c2b…
Author: Solomon Jacobs <solomon.jacobs(a)tribe29.com>
Date: 2022-03-21 (Mon, 21 Mar 2022)
Changed paths:
M cmk/base/plugins/agent_based/kube_deployment_info.py
M cmk/base/plugins/agent_based/kube_pod_containers.py
M tests/unit/cmk/base/plugins/agent_based/test_kube_pod_containers.py
M tests/unit/cmk/base/plugins/agent_based/test_section_host_label_doc.py
Log Message:
-----------
KUBE: remove cmk/container_image, cmk/container_name
Previously, these labels would be yielded multiple times. However,
a label value can only be set to a single value, which means only
one image or name would be shown.
Co-authored-by: Benedikt Seidl <benedikt.seidl(a)tribe29.com>
Change-Id: Ica42a934c1d9820a72fb583999ddc5313e728db2
Commit: 944082fca8271a2013c9923b249b96f6008d4793
https://github.com/tribe29/checkmk/commit/944082fca8271a2013c9923b249b96f60…
Author: Solomon Jacobs <solomon.jacobs(a)tribe29.com>
Date: 2022-03-21 (Mon, 21 Mar 2022)
Changed paths:
M cmk/base/plugins/agent_based/kube_deployment_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_deployment.py
M tests/unit/cmk/base/plugins/agent_based/test_kube_deployment_info.py
Log Message:
-----------
agent_kube: split up DeploymentInfo
CMK-9647
Change-Id: I59176d71a14778b246ab2e755485108fc3fda458
Commit: 9a39f096b7e1de12b038ebdb1cb110e222d6274e
https://github.com/tribe29/checkmk/commit/9a39f096b7e1de12b038ebdb1cb110e22…
Author: Solomon Jacobs <solomon.jacobs(a)tribe29.com>
Date: 2022-03-21 (Mon, 21 Mar 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/utils/kube_info.py
M tests/unit/cmk/base/plugins/agent_based/test_section_host_label_doc.py
Log Message:
-----------
kube_daemonset_info: add host labels
Adds
* cmk/kubernetes/object
* cmk/kubernetes/cluster
* cmk/kubernetes/namespace
* cmk/kubernetes/daemonset
to DaemonSet piggyback hosts.
CMK-9813
Change-Id: I4847e702bf22fd9b8dfa0346997e0428a994edf5
Commit: 5616289999f1aa0c61dcaa18f5e373551c4725b1
https://github.com/tribe29/checkmk/commit/5616289999f1aa0c61dcaa18f5e373551…
Author: Solomon Jacobs <solomon.jacobs(a)tribe29.com>
Date: 2022-03-21 (Mon, 21 Mar 2022)
Changed paths:
M cmk/base/plugins/agent_based/kube_statefulset_info.py
M cmk/base/plugins/agent_based/utils/kube_info.py
M tests/unit/cmk/base/plugins/agent_based/test_section_host_label_doc.py
Log Message:
-----------
kube_statefulset_info: add host labels
Adds
* cmk/kubernetes/object
* cmk/kubernetes/cluster
* cmk/kubernetes/namespace
* cmk/kubernetes/statefulset
to StatefulSet piggyback hosts.
CMK-9807
Change-Id: Ic7ee37e360d65a0012d52b635f704243de58b2a9
Commit: 606546fa120f9742d30fa98a3d4fe42b5d5171be
https://github.com/tribe29/checkmk/commit/606546fa120f9742d30fa98a3d4fe42b5…
Author: Solomon Jacobs <solomon.jacobs(a)tribe29.com>
Date: 2022-03-21 (Mon, 21 Mar 2022)
Changed paths:
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_node.py
M tests/unit/cmk/base/plugins/agent_based/test_inventory_kube_pod.py
M tests/unit/cmk/base/plugins/agent_based/test_inventory_kube_statefulset.py
Log Message:
-----------
KUBE: make calling labels_to_table mandatory
It is tested that labels_to_table is called once in:
* inventory_kube_node
* inventory_kube_pod
* inventory_kube_deployment
* inventory_kube_daemonset
* inventory_kube_statefulset
Change-Id: I45a622fe7b5349c0116e6367070b56397c9d6bac
Commit: 62ccb31114efd67da9200ff69aeb9cb670956cc4
https://github.com/tribe29/checkmk/commit/62ccb31114efd67da9200ff69aeb9cb67…
Author: Solomon Jacobs <solomon.jacobs(a)tribe29.com>
Date: 2022-03-21 (Mon, 21 Mar 2022)
Changed paths:
M cmk/special_agents/agent_kube.py
Log Message:
-----------
agent_kube: use _pod_resources in Node
Change-Id: Ib730c70920bb782ac5838ea9b04bbe87f4f9c845
Compare: https://github.com/tribe29/checkmk/compare/c3749f28912e...62ccb31114ef