Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: a4fb609354c6adf9dd52381447dc2bb5dd15e0df
https://github.com/tribe29/checkmk/commit/a4fb609354c6adf9dd52381447dc2bb5d…
Author: Wontek Hong <wontek.hong(a)tribe29.com>
Date: 2022-04-21 (Thu, 21 Apr 2022)
Changed paths:
A .werks/14066
M cmk/base/plugins/agent_based/kube_node_container_count.py
M tests/unit/cmk/base/plugins/agent_based/test_kube_node_container_count.py
Log Message:
-----------
14066 FIX KUBE kube_node_container_count: adjustment to properly handle configured levels
Previously, configuring any levels for the kube_node_container_count check
resulted in an error because the check was unable to process the specified
format. This werk fixes this behaviour.
Change-Id: I86363a42c9e951255f45d12329b3615bd13455bc
Branch: refs/heads/2.1.0
Home: https://github.com/tribe29/checkmk
Commit: 3f0d8f660b25747ef3ceb9fd3128e859879db6cb
https://github.com/tribe29/checkmk/commit/3f0d8f660b25747ef3ceb9fd3128e8598…
Author: Solomon Jacobs <solomon.jacobs(a)tribe29.com>
Date: 2022-04-21 (Thu, 21 Apr 2022)
Changed paths:
M cmk/special_agents/utils_kubernetes/schemata/api.py
M cmk/special_agents/utils_kubernetes/transform.py
Log Message:
-----------
transform: parse number_available daemonset
Change-Id: I6696e63945048c142c013e9c719cfb0ed1e317a5
Commit: 6c27bdb409c94f1d52e3d2148252df84a79b3ab6
https://github.com/tribe29/checkmk/commit/6c27bdb409c94f1d52e3d2148252df84a…
Author: Solomon Jacobs <solomon.jacobs(a)tribe29.com>
Date: 2022-04-21 (Thu, 21 Apr 2022)
Changed paths:
M cmk/base/plugins/agent_based/kube_collector_info.py
Log Message:
-----------
kube_collector_info: move import to doctest
Change-Id: I86c62fd7e4804fe3ebfc975487bbc37ad6421ff5
Commit: a53d4d52e390744eb338b25ba3ff54926112f073
https://github.com/tribe29/checkmk/commit/a53d4d52e390744eb338b25ba3ff54926…
Author: Solomon Jacobs <solomon.jacobs(a)tribe29.com>
Date: 2022-04-21 (Thu, 21 Apr 2022)
Changed paths:
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/special_agents/agent_kube/conftest.py
M tests/unit/cmk/special_agents/agent_kubernetes/test_agent_kubernetes_section_schemas.py
Log Message:
-----------
agent_kube: add section kube_collector_daemons_v1
CMK-9907
Change-Id: I5491a3c44993f5c824a12f721036e9da085e17a0
Commit: c7e7ba6a980afcd527b4ab3e5a0c0b9e2eaede2a
https://github.com/tribe29/checkmk/commit/c7e7ba6a980afcd527b4ab3e5a0c0b9e2…
Author: Solomon Jacobs <solomon.jacobs(a)tribe29.com>
Date: 2022-04-21 (Thu, 21 Apr 2022)
Changed paths:
A .werks/13800
M cmk/base/plugins/agent_based/kube_collector_info.py
M cmk/special_agents/agent_kube.py
Log Message:
-----------
13800 FIX KUBE: update section name kube_collectors_metadata_v1
This change affects users whom used the Check API to write their own Kubernetes check. The name of
the section kube_collectors_metadata_v1, resp. parsed section name kube_collectors_metadata, has
been changed to kube_collector_metadata_v1, resp. kube_collector_metatdata. They are now in line
with the documentation.
Change-Id: Ie60df045484914bb533980397e119680df15afb0
Commit: 610d25fa22832651b465a052dd8d49acf5f16a9a
https://github.com/tribe29/checkmk/commit/610d25fa22832651b465a052dd8d49acf…
Author: Solomon Jacobs <solomon.jacobs(a)tribe29.com>
Date: 2022-04-21 (Thu, 21 Apr 2022)
Changed paths:
A .werks/13802
M checkman/kube_collector_info
M cmk/base/plugins/agent_based/kube_collector_info.py
M tests/unit/cmk/base/plugins/agent_based/test_kube_collector_info.py
Log Message:
-----------
13802 KUBE: kube_collector_info shows number of Nodes with collector
With this werk, the service uses the Kubernetes API to report on the
status of DaemonSets belonging to node collectors. For each node
collector the following are reported
- the number of Nodes with a Pod, which is available and desired
- the number of Nodes, on which a Pod is desired
The DaemonSets are identified by the labels
"node-collector=machine-sections" and
"node-collector=container-metrics". The service reports an OK state
regardless of the data process outcome and the API data.
CMK-9907
Change-Id: Idc05df8c4073d209687d9e9b2df9efb4bcaa6445
Commit: b9dc8107abd8d83842ef34508676780d674beebd
https://github.com/tribe29/checkmk/commit/b9dc8107abd8d83842ef34508676780d6…
Author: Solomon Jacobs <solomon.jacobs(a)tribe29.com>
Date: 2022-04-21 (Thu, 21 Apr 2022)
Changed paths:
M tests/unit/cmk/base/plugins/agent_based/test_kube_collector_info.py
Log Message:
-----------
kube_collector_info: fix broken fixture
The keyword argument node_collectors was incorrectly used instead of the
nodes with the pydantic model CollectorComponentsMetadata. Because of
this the argument would be replaced with None.
The pydantic.mypy plugin can fix this issue (see ticket).
CMK-10333
Change-Id: Iba2907691db27525aacfced593c3389f71b5e595
Compare: https://github.com/tribe29/checkmk/compare/f01a614603ce...b9dc8107abd8
Branch: refs/heads/2.1.0
Home: https://github.com/tribe29/checkmk
Commit: 679ca2302a27e28b5f43338659ff6607badd0d93
https://github.com/tribe29/checkmk/commit/679ca2302a27e28b5f43338659ff6607b…
Author: Solomon Jacobs <solomon.jacobs(a)tribe29.com>
Date: 2022-04-21 (Thu, 21 Apr 2022)
Changed paths:
M cmk/base/plugins/agent_based/utils/kube.py
M tests/unit/cmk/base/plugins/agent_based/utils/test_kube.py
Log Message:
-----------
KUBE: add namespace for host labels
Key-value pairs of Kubernetes labels are valid checkmk labels (see
`LabelName` and `LabelValue`). However, a user can add labels to their
Kubernetes objects, which overwrite existing checkmk labels, if we simply
add `HostLabel(label.name, label.value)`. To circumvent this problem, we
prepend every label name with 'cmk/kube/'.
CMK-10229
Change-Id: Idb34b46503cbfd5888da64a99f84cdd3f337551d
Commit: f01a614603ce95d95cc2b857cf344c536e8abf7d
https://github.com/tribe29/checkmk/commit/f01a614603ce95d95cc2b857cf344c536…
Author: Solomon Jacobs <solomon.jacobs(a)tribe29.com>
Date: 2022-04-21 (Thu, 21 Apr 2022)
Changed paths:
A .werks/13804
M cmk/base/plugins/agent_based/utils/kube.py
M tests/unit/cmk/base/plugins/agent_based/utils/test_kube.py
Log Message:
-----------
13804 FIX KUBE: add cmk/kubernetes/label/ to host label keys
This fix affects users who use Kubernetes host labels.
Previously, labels which are set by Kubernetes would be mapped
one-to-one to Checkmk labels. This would mean that setting labels in
Kubernetes could overwrite Checkmk labels, which should not be
overwritten. For instance, setting the label
<tt>cmk/os_family=something</tt> would incorrectly set the corresponding
Checkmk label to <tt>cmk/os_family:something</tt>. With this werk,
Checkmk labels are prefixed with <tt>cmk/kubernetes/label/</tt>. For
example, Checkmk now sets the aforementioned label to
<tt>cmk/kubernetes/label/cmk/os_family:something</tt>.
User-defined rules with old host labels need to be updated.
Change-Id: I26a3c98120fdf2ea12aa1bc8023e1f72aad88cee
Compare: https://github.com/tribe29/checkmk/compare/8b4798a81511...f01a614603ce
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 20f0b859a97fb4a570c704425bcb95c8c661475b
https://github.com/tribe29/checkmk/commit/20f0b859a97fb4a570c704425bcb95c8c…
Author: Solomon Jacobs <solomon.jacobs(a)tribe29.com>
Date: 2022-04-21 (Thu, 21 Apr 2022)
Changed paths:
M cmk/special_agents/utils_kubernetes/schemata/api.py
M cmk/special_agents/utils_kubernetes/transform.py
Log Message:
-----------
transform: parse number_available daemonset
Change-Id: I6696e63945048c142c013e9c719cfb0ed1e317a5
Commit: 4b722b66694d439745bc41a5c76823ca715e316f
https://github.com/tribe29/checkmk/commit/4b722b66694d439745bc41a5c76823ca7…
Author: Solomon Jacobs <solomon.jacobs(a)tribe29.com>
Date: 2022-04-21 (Thu, 21 Apr 2022)
Changed paths:
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/special_agents/agent_kube/conftest.py
M tests/unit/cmk/special_agents/agent_kubernetes/test_agent_kubernetes_section_schemas.py
Log Message:
-----------
agent_kube: add section kube_collector_daemons_v1
CMK-9907
Change-Id: I5491a3c44993f5c824a12f721036e9da085e17a0
Commit: 466e0c02ceae245d538995053112cdd37207e042
https://github.com/tribe29/checkmk/commit/466e0c02ceae245d538995053112cdd37…
Author: Solomon Jacobs <solomon.jacobs(a)tribe29.com>
Date: 2022-04-21 (Thu, 21 Apr 2022)
Changed paths:
M cmk/base/plugins/agent_based/kube_collector_info.py
Log Message:
-----------
kube_collector_info: move import to doctest
Change-Id: I86c62fd7e4804fe3ebfc975487bbc37ad6421ff5
Commit: ec6448b3dcae48cc927de7e49a3d949de01d7df4
https://github.com/tribe29/checkmk/commit/ec6448b3dcae48cc927de7e49a3d949de…
Author: Solomon Jacobs <solomon.jacobs(a)tribe29.com>
Date: 2022-04-21 (Thu, 21 Apr 2022)
Changed paths:
A .werks/13800
M cmk/base/plugins/agent_based/kube_collector_info.py
M cmk/special_agents/agent_kube.py
Log Message:
-----------
13800 FIX KUBE: update section name kube_collectors_metadata_v1
This change affects users whom used the Check API to write their own Kubernetes check. The name of
the section kube_collectors_metadata_v1, resp. parsed section name kube_collectors_metadata, has
been changed to kube_collector_metadata_v1, resp. kube_collector_metatdata. They are now in line
with the documentation.
Change-Id: Ie60df045484914bb533980397e119680df15afb0
Commit: d0260b5469cfe65fd6e07364998b5aa242ebcd5d
https://github.com/tribe29/checkmk/commit/d0260b5469cfe65fd6e07364998b5aa24…
Author: Solomon Jacobs <solomon.jacobs(a)tribe29.com>
Date: 2022-04-21 (Thu, 21 Apr 2022)
Changed paths:
A .werks/13802
M checkman/kube_collector_info
M cmk/base/plugins/agent_based/kube_collector_info.py
M tests/unit/cmk/base/plugins/agent_based/test_kube_collector_info.py
Log Message:
-----------
13802 KUBE: kube_collector_info shows number of Nodes with collector
With this werk, the service uses the Kubernetes API to report on the
status of DaemonSets belonging to node collectors. For each node
collector the following are reported
- the number of Nodes with a Pod, which is available and desired
- the number of Nodes, on which a Pod is desired
The DaemonSets are identified by the labels
"node-collector=machine-sections" and
"node-collector=container-metrics". The service reports an OK state
regardless of the data process outcome and the API data.
CMK-9907
Change-Id: Idc05df8c4073d209687d9e9b2df9efb4bcaa6445
Commit: e38cedf36955adc31389ff047142db2c2b843d75
https://github.com/tribe29/checkmk/commit/e38cedf36955adc31389ff047142db2c2…
Author: Solomon Jacobs <solomon.jacobs(a)tribe29.com>
Date: 2022-04-21 (Thu, 21 Apr 2022)
Changed paths:
M tests/unit/cmk/base/plugins/agent_based/test_kube_collector_info.py
Log Message:
-----------
kube_collector_info: fix broken fixture
The keyword argument node_collectors was incorrectly used instead of the
nodes with the pydantic model CollectorComponentsMetadata. Because of
this the argument would be replaced with None.
The pydantic.mypy plugin can fix this issue (see ticket).
CMK-10333
Change-Id: Iba2907691db27525aacfced593c3389f71b5e595
Compare: https://github.com/tribe29/checkmk/compare/116c6386be5b...e38cedf36955
Branch: refs/heads/2.0.0
Home: https://github.com/tribe29/checkmk
Commit: 2cfe3fb322cc43ad17a2b85b4123f61745b81465
https://github.com/tribe29/checkmk/commit/2cfe3fb322cc43ad17a2b85b4123f6174…
Author: Sofia Colakovic <sofia.colakovic(a)tribe29.com>
Date: 2022-04-21 (Thu, 21 Apr 2022)
Changed paths:
A .werks/14037
M checks/oracle_performance
Log Message:
-----------
14037 FIX oracle_performance: Fix wrong monitoring state when using thresholds
After setting up Oracle Performance Discovery rule and threshold in
Oracle Performance rule the service would go to UNKNOWN and no
useful data was shown.
Now, the thresholds are applied and service values shown.
SUP-10027
Change-Id: Ica9b81308c228a54cae72ff759bf5bf026f9e8c2
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 116c6386be5b59d30a0c3530136051652b132184
https://github.com/tribe29/checkmk/commit/116c6386be5b59d30a0c3530136051652…
Author: Solomon Jacobs <solomon.jacobs(a)tribe29.com>
Date: 2022-04-21 (Thu, 21 Apr 2022)
Changed paths:
A .werks/13804
M cmk/base/plugins/agent_based/utils/kube.py
M tests/unit/cmk/base/plugins/agent_based/utils/test_kube.py
Log Message:
-----------
13804 FIX KUBE: add cmk/kubernetes/label/ to host label keys
This fix affects users who use Kubernetes host labels.
Previously, labels which are set by Kubernetes would be mapped
one-to-one to Checkmk labels. This would mean that setting labels in
Kubernetes could overwrite Checkmk labels, which should not be
overwritten. For instance, setting the label
<tt>cmk/os_family=something</tt> would incorrectly set the corresponding
Checkmk label to <tt>cmk/os_family:something</tt>. With this werk,
Checkmk labels are prefixed with <tt>cmk/kubernetes/label/</tt>. For
example, Checkmk now sets the aforementioned label to
<tt>cmk/kubernetes/label/cmk/os_family:something</tt>.
User-defined rules with old host labels need to be updated.
Change-Id: I26a3c98120fdf2ea12aa1bc8023e1f72aad88cee