Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 4f7c6b1f2229508a1bf243878b5f232cdf6dfad2
https://github.com/tribe29/checkmk/commit/4f7c6b1f2229508a1bf243878b5f232cd…
Author: Benedikt Seidl <benedikt.seidl(a)tribe29.com>
Date: 2021-05-05 (Wed, 05 May 2021)
Changed paths:
A .werks/12782
M cmk/base/plugins/agent_based/inventory_k8s_endpoint_info.py
M cmk/base/plugins/agent_based/k8s_daemon_pods.py
A cmk/base/plugins/agent_based/k8s_endpoint_info.py
M cmk/base/plugins/agent_based/k8s_ingress_infos.py
M cmk/base/plugins/agent_based/k8s_job_info.py
M cmk/base/plugins/agent_based/k8s_nodes.py
M cmk/base/plugins/agent_based/k8s_pod_container.py
M cmk/base/plugins/agent_based/k8s_replicas.py
M cmk/base/plugins/agent_based/k8s_service_port.py
M cmk/base/plugins/agent_based/k8s_stateful_set_replicas.py
M cmk/base/plugins/agent_based/utils/k8s.py
M cmk/gui/watolib/sample_config.py
M tests/unit/cmk/base/plugins/agent_based/test_inv_k8s_endpoint_info.py
M tests/unit/cmk/base/plugins/agent_based/test_section_host_label_doc.py
Log Message:
-----------
12782 FIX Activate inventory for kubernetes objects
A host is created for each kubernetes endpoint. On a checkmk site with
disabled inventory (the default) the endpoint host does not have any
services.
As Hosts without services are invalid, checkmk automatically adds a ping
service which fails, because the endpoint host is created from piggyback
data and ist not reachable. The error message looks like: "check_icmp:
No hosts to check"
This commit adds the label "cmk/kubernetes:yes" to kubernetes related
hosts, so the issue can now be fixed by creating an inventory rule that
activates the inventory on kubernetes endpoint hosts:
Go to "Setup" -> "HW/SW inventory rules" -> "Do hardware/software
inventory" -> "Create rule in folder":
* "Status data inventory" -> "Do status data inventory"
* "Host labels" -> "has" -> "cmk/kubernetes:yes"
-> Save
This commit alters the default configuration. Sites created with checkmk
2.0.0p4 or later automatically enable the inventory for kubernetes
objects.
SUP-5771
Change-Id: I02f5687a85056cb3974cdf0d31bab1f51e151302
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: d0cdaf6efc89a1065de26464f715453825ea7559
https://github.com/tribe29/checkmk/commit/d0cdaf6efc89a1065de26464f71545382…
Author: Maximilian Hill <max(a)maxhill.eu>
Date: 2021-05-04 (Tue, 04 May 2021)
Changed paths:
A .werks/12735
M agents/plugins/smart
Log Message:
-----------
12735 FIX SMART agent plugin: Exclude devices which can read CDs
The SMART agent plugin now attempts to exclude devices which
can read CDs. Such devices do not support SMART and not
excluding them can lead to hanging <tt>smartctls</tt>
processes. The plugin attempts to exclude such devices based
on the output of <tt>udevadm</tt>, if this command is found.
Note that you need to update the agents on affected linux hosts
for this werk to come into effect.
Closes #365
Change-Id: I1d451271fcec7933766cf7883ddd3f3775c468db
Branch: refs/heads/2.0.0
Home: https://github.com/tribe29/checkmk
Commit: ed09a1ecf74ce7344719096e868724d894259291
https://github.com/tribe29/checkmk/commit/ed09a1ecf74ce7344719096e868724d89…
Author: Maximilian Hill <max(a)maxhill.eu>
Date: 2021-05-04 (Tue, 04 May 2021)
Changed paths:
A .werks/12735
M agents/plugins/smart
Log Message:
-----------
12735 FIX SMART agent plugin: Exclude devices which can read CDs
The SMART agent plugin now attempts to exclude devices which
can read CDs. Such devices do not support SMART and not
excluding them can lead to hanging <tt>smartctls</tt>
processes. The plugin attempts to exclude such devices based
on the output of <tt>udevadm</tt>, if this command is found.
Note that you need to update the agents on affected linux hosts
for this werk to come into effect.
Closes #365
Change-Id: I1d451271fcec7933766cf7883ddd3f3775c468db