Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: a4aa58324f141a0ea1538c0921e55c57f3c47aa9
https://github.com/tribe29/checkmk/commit/a4aa58324f141a0ea1538c0921e55c57f…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2022-03-22 (Tue, 22 Mar 2022)
Changed paths:
M cmk/base/agent_based/data_provider.py
M cmk/base/automations/check_mk.py
M cmk/base/core_nagios.py
M cmk/base/dump_host.py
M cmk/base/modes/check_mk.py
M cmk/base/sources/_checkers.py
M cmk/base/sources/fetcher_configuration.py
M tests/unit/cmk/base/sources/test_data_sources.py
Log Message:
-----------
Rename make_sources -> make_non_cluster_sources
We had make_sources and make_cluster_sources--this somewhat clarifies
the difference.
CMK-10076
Change-Id: I2407df6583cd4696a15bdf479685960e12e11499
Commit: 19f4baf85b67fd034c7a7bbc38c8772604b2cec4
https://github.com/tribe29/checkmk/commit/19f4baf85b67fd034c7a7bbc38c877260…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2022-03-22 (Tue, 22 Mar 2022)
Changed paths:
M cmk/base/agent_based/checking/__init__.py
M cmk/base/agent_based/data_provider.py
M cmk/base/agent_based/discovery/__init__.py
M cmk/base/agent_based/inventory/__init__.py
M cmk/base/sources/_checkers.py
Log Message:
-----------
Extract make_sources
We have make_non_cluster_sources and make_cluster_sources, make_sources
is the generic version of these. It uses either the cluster version or
the non-cluster version based on the configuration.
This lets us reduce the number of arguments to make_broker and somewhat
clarifies its API.
More importantly, the goal is to make sure that the sources correspond
to the fetcher messages in any case and this should best be realized
ASAP in the call stack. So, a function may take the sources and fetch
the data from them but taking the messages and guessing their origin is
always risky.
CMK-10076
Change-Id: Iace76fb82d9d1babd6890320147d98f8c46bdbe7
Commit: 483de08299e7c7231bdeb6168a5436bb1c221ae7
https://github.com/tribe29/checkmk/commit/483de08299e7c7231bdeb6168a5436bb1…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2022-03-22 (Tue, 22 Mar 2022)
Changed paths:
M cmk/base/agent_based/data_provider.py
M cmk/base/agent_based/discovery/__init__.py
M cmk/base/agent_based/inventory/__init__.py
M cmk/base/sources/_checkers.py
Log Message:
-----------
Move fetch_all to caller
Having the fetcher messages *before* the sources can only result in
guessing from which source the message originated. Passing a dummy
value to make_broker and letting it fetch the messages from the sources
*in some cases* is also confusing.
Let us clarify the algorithm here:
1. Create the sources
2. Fetch
3. call make_broker
CMK-10076
Change-Id: I16c9f23a0cab385d61c343debf69391c42d2422b
Compare: https://github.com/tribe29/checkmk/compare/f1e8c4248905...483de08299e7
Branch: refs/heads/2.1.0
Home: https://github.com/tribe29/checkmk
Commit: eab38c4c6560ff789407d7818861c27147db0da3
https://github.com/tribe29/checkmk/commit/eab38c4c6560ff789407d7818861c2714…
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: 5901d1fe04204a13b259b32389c3663548a6eabc
https://github.com/tribe29/checkmk/commit/5901d1fe04204a13b259b32389c366354…
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: 940d5ec56f3bc217c28486c42e5f461fbcd8c617
https://github.com/tribe29/checkmk/commit/940d5ec56f3bc217c28486c42e5f461fb…
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: d62e452324e53ffbec09d528b2faf93050c4f75f
https://github.com/tribe29/checkmk/commit/d62e452324e53ffbec09d528b2faf9305…
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: 28683fa39e1e9388f4759033c80c8298e8b41828
https://github.com/tribe29/checkmk/commit/28683fa39e1e9388f4759033c80c8298e…
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: 2b85e4503eef6e443311619a57160ffd8e7489fa
https://github.com/tribe29/checkmk/commit/2b85e4503eef6e443311619a57160ffd8…
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
Commit: 64bbdb32db3376aecf40e52468159e985bde6532
https://github.com/tribe29/checkmk/commit/64bbdb32db3376aecf40e52468159e985…
Author: Solomon Jacobs <solomon.jacobs(a)tribe29.com>
Date: 2022-03-21 (Mon, 21 Mar 2022)
Changed paths:
A .werks/13790
Log Message:
-----------
13790 FIX KUBE: Remove Container Labels
Previously, on a Kubernetes host Checkmk would create a single label of each
- cmk/container_image and
- cmk/container_name.
The label value was set to the name, respectively image, of one container. Since label keys
have to be unique, this would cause most containers to be left out, if there were multiple
containers. This werk removes the faulty labels.
Change-Id: I606718738f6201b591b2d9d1139e69d1281a2b1c
Compare: https://github.com/tribe29/checkmk/compare/f68442d9f80f...64bbdb32db33
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: ee295f3c54d82fa40929b67ea05832ebbc260927
https://github.com/tribe29/checkmk/commit/ee295f3c54d82fa40929b67ea05832ebb…
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_statefulset_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_daemonset.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_statefulset_info.py
Log Message:
-----------
KUBE: extend Info sections
StatefulSetInfo and DaemonSetInfo now contain ThinContainers.
CMK-10086
Change-Id: I5d58cd5f3075c954707312b95e0f8d75de085d94
Commit: f1e8c424890559b9eed6b1611a32026dc6fbab72
https://github.com/tribe29/checkmk/commit/f1e8c424890559b9eed6b1611a32026dc…
Author: Solomon Jacobs <solomon.jacobs(a)tribe29.com>
Date: 2022-03-21 (Mon, 21 Mar 2022)
Changed paths:
A .werks/13790
Log Message:
-----------
13790 FIX KUBE: Remove Container Labels
Previously, on a Kubernetes host Checkmk would create a single label of each
- cmk/container_image and
- cmk/container_name.
The label value was set to the name, respectively image, of one container. Since label keys
have to be unique, this would cause most containers to be left out, if there were multiple
containers. This werk removes the faulty labels.
Change-Id: I606718738f6201b591b2d9d1139e69d1281a2b1c
Compare: https://github.com/tribe29/checkmk/compare/2ea5fff5f13e...f1e8c4248905
Branch: refs/heads/2.1.0
Home: https://github.com/tribe29/checkmk
Commit: d746733d6b38ffc584bd7e91903e9df7c0f0cf68
https://github.com/tribe29/checkmk/commit/d746733d6b38ffc584bd7e91903e9df7c…
Author: Sergey Kipnis <sergey.kipnis(a)tribe29.com>
Date: 2022-03-21 (Mon, 21 Mar 2022)
Changed paths:
M agents/cmk-agent-ctl/src/cli.rs
M agents/cmk-agent-ctl/src/config.rs
M agents/cmk-agent-ctl/src/lib.rs
M agents/cmk-agent-ctl/src/modes/status.rs
M agents/cmk-agent-ctl/src/monitoring_data.rs
M agents/cmk-agent-ctl/src/setup.rs
M agents/wnx/src/engine/agent_controller.cpp
M agents/wnx/src/engine/agent_controller.h
M agents/wnx/watest/test-agent_controller.cpp
Log Message:
-----------
Add support for monitoring data channel in controller
Optional command line `--channel` allows to use
different ports.
`cmk-agent-ctl ... --channel localhost:50001 ...`
Ignored in Linux.
Motivation: port may be busy, post may be blocked, testing
purposes.
This change is not strictly mandatory, still predefined port
is terrible solution.
This functionality is also to be replicated into TOML
config for Windows.
TEST: Manual
CMK-9998
Change-Id: Ibfe43bd4573c04f70beedf269023333db9a85cc6
Commit: f68442d9f80f2c84282bbe7ecd1ee329071d6d51
https://github.com/tribe29/checkmk/commit/f68442d9f80f2c84282bbe7ecd1ee3290…
Author: Sergey Kipnis <sergey.kipnis(a)tribe29.com>
Date: 2022-03-21 (Mon, 21 Mar 2022)
Changed paths:
M agents/wnx/src/engine/agent_controller.cpp
Log Message:
-----------
Make very strict windows agent unit test happy again
Change-Id: I44b4b23df0065276295a8f50fc9887b1562db806
Compare: https://github.com/tribe29/checkmk/compare/02df605a13eb...f68442d9f80f
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 1f732b0094cb91876656d98934b3cb7b50fbd700
https://github.com/tribe29/checkmk/commit/1f732b0094cb91876656d98934b3cb7b5…
Author: Max Linke <max.linke(a)tribe29.com>
Date: 2022-03-21 (Mon, 21 Mar 2022)
Changed paths:
M cmk/base/plugins/agent_based/gcp_function.py
M tests/unit/cmk/base/plugins/agent_based/test_gcp_function.py
Log Message:
-----------
Fix cloud functions
If functions have not been called in the last 5 minutes no metric data
is collected. In that case default to a 0.
Change-Id: Iabc95116939e421d0a711a94ef21489e5a2b4225
Commit: 16b2793d3702d2cfa145ef7e8c52fd69e4ae1691
https://github.com/tribe29/checkmk/commit/16b2793d3702d2cfa145ef7e8c52fd69e…
Author: Max Linke <max.linke(a)tribe29.com>
Date: 2022-03-21 (Mon, 21 Mar 2022)
Changed paths:
M cmk/base/plugins/agent_based/gcp_run.py
M tests/unit/cmk/base/plugins/agent_based/test_gcp_run.py
Log Message:
-----------
fix cloud run bug if no metric data is available
If the cloud run service has not been active in the last 5 minutes no
metric data is available. Default to 0 in that case.
Change-Id: Ie97bbb1551e5c84ad307e7a7ff3b8c175a3abd33
Commit: 2ea5fff5f13ec8bc51802c60bbf4f8aa59c18377
https://github.com/tribe29/checkmk/commit/2ea5fff5f13ec8bc51802c60bbf4f8aa5…
Author: Max Linke <max.linke(a)tribe29.com>
Date: 2022-03-21 (Mon, 21 Mar 2022)
Changed paths:
M cmk/base/plugins/agent_based/gcp_gcs.py
M tests/unit/cmk/base/plugins/agent_based/test_gcp_gcs.py
Log Message:
-----------
Fix gcs bug if no file is yet in bucket
If no file is in the bucket no metrics are returned. Normally we always
get object count. But this is only updated once every 24 hours. This now
ensures we always show a check result.
Change-Id: Ifcc79064fd23e6d903a1cb67e3fd06872f81e459
Compare: https://github.com/tribe29/checkmk/compare/20f0f007d7ca...2ea5fff5f13e
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 20f0f007d7ca327de97003a376e4093e500e9816
https://github.com/tribe29/checkmk/commit/20f0f007d7ca327de97003a376e4093e5…
Author: Weblate Transfer job <weblate(a)checkmk.com>
Date: 2022-03-21 (Mon, 21 Mar 2022)
Changed paths:
M locale/de/LC_MESSAGES/multisite.po
M locale/es/LC_MESSAGES/multisite.po
M locale/fr/LC_MESSAGES/multisite.po
M locale/it/LC_MESSAGES/multisite.po
M locale/ja/LC_MESSAGES/multisite.po
M locale/nl/LC_MESSAGES/multisite.po
M locale/pt_PT/LC_MESSAGES/multisite.po
M locale/ro/LC_MESSAGES/multisite.po
Log Message:
-----------
[Weblate] Updated translation files
Translation: checkmk/software
Translate-URL: https://translate.checkmk.com/projects/checkmk/software/
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 85087d1cec2292049dd1d255407f9547e92eedf8
https://github.com/tribe29/checkmk/commit/85087d1cec2292049dd1d255407f9547e…
Author: Sergey Kipnis <sergey.kipnis(a)tribe29.com>
Date: 2022-03-21 (Mon, 21 Mar 2022)
Changed paths:
M agents/wnx/src/engine/agent_controller.cpp
Log Message:
-----------
Make very strict windows agent unit test happy again
Change-Id: I44b4b23df0065276295a8f50fc9887b1562db806
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 07ce94f5c8f8f1ad7c421bb499c28ad652038ce4
https://github.com/tribe29/checkmk/commit/07ce94f5c8f8f1ad7c421bb499c28ad65…
Author: Sergey Kipnis <sergey.kipnis(a)tribe29.com>
Date: 2022-03-21 (Mon, 21 Mar 2022)
Changed paths:
M agents/cmk-agent-ctl/src/cli.rs
M agents/cmk-agent-ctl/src/config.rs
M agents/cmk-agent-ctl/src/lib.rs
M agents/cmk-agent-ctl/src/modes/status.rs
M agents/cmk-agent-ctl/src/monitoring_data.rs
M agents/cmk-agent-ctl/src/setup.rs
M agents/wnx/src/engine/agent_controller.cpp
M agents/wnx/src/engine/agent_controller.h
M agents/wnx/watest/test-agent_controller.cpp
Log Message:
-----------
Add support for monitoring data channel in controller
Optional command line `--channel` allows to use
different ports.
`cmk-agent-ctl ... --channel localhost:50001 ...`
Ignored in Linux.
Motivation: port may be busy, post may be blocked, testing
purposes.
This change is not strictly mandatory, still predefined port
is terrible solution.
This functionality is also to be replicated into TOML
config for Windows.
TEST: Manual
CMK-9998
Change-Id: Ibfe43bd4573c04f70beedf269023333db9a85cc6
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: e472907577ab842d9f47bbd195f28531d6ff5577
https://github.com/tribe29/checkmk/commit/e472907577ab842d9f47bbd195f28531d…
Author: Sven Panne <sven.panne(a)tribe29.com>
Date: 2022-03-21 (Mon, 21 Mar 2022)
Changed paths:
M livestatus/src/TableHosts.cc
M livestatus/src/TableHosts.h
M livestatus/src/TableHostsByGroup.cc
M livestatus/src/TableHostsByGroup.h
Log Message:
-----------
Improve query performance for hosts/hostsbygroup tables.
Check host visibility *before* filtering.
Added missing special case in the NEB for consistency, too, although it
doesn't really improve performance. This makes future refactorings easier.
Change-Id: I3d99a786cb9de6cfa49747b413647d103beb8fea
Commit: 4cea8661297bc12286226212226e07a1584ae00e
https://github.com/tribe29/checkmk/commit/4cea8661297bc12286226212226e07a15…
Author: Simon Jess <simon.jess(a)tribe29.com>
Date: 2022-03-21 (Mon, 21 Mar 2022)
Changed paths:
M cmk/utils/license_usage/export.py
Log Message:
-----------
Remove KeyError (will be handled on license-server separatly
Change-Id: I121ecc16327c5e04f63fc6089592d78f1aee32ca
Commit: 16d4736426a411bf647a33987a2727480168ccb6
https://github.com/tribe29/checkmk/commit/16d4736426a411bf647a33987a2727480…
Author: Max Linke <max.linke(a)tribe29.com>
Date: 2022-03-21 (Mon, 21 Mar 2022)
Changed paths:
A checkman/gcp_filestore_disk
A cmk/base/plugins/agent_based/gcp_filestore.py
M cmk/gui/plugins/wato/check_parameters/gcp_gcs.py
M cmk/gui/plugins/wato/datasource_programs.py
M cmk/special_agents/agent_gcp.py
A tests/unit/cmk/base/plugins/agent_based/test_gcp_filestore.py
Log Message:
-----------
add filestore monitoring
single service per server. Simple usage statistics. No performance
statistics.
Change-Id: I5d60fa626f0c913911a6fc28a42c91c189640d21
Compare: https://github.com/tribe29/checkmk/compare/f152c7e92338...16d4736426a4
Branch: refs/heads/2.1.0
Home: https://github.com/tribe29/checkmk
Commit: 02df605a13eb7a6f70dd4bdf6df2de50975ac77d
https://github.com/tribe29/checkmk/commit/02df605a13eb7a6f70dd4bdf6df2de509…
Author: Sven Panne <sven.panne(a)tribe29.com>
Date: 2022-03-21 (Mon, 21 Mar 2022)
Changed paths:
M livestatus/src/TableHosts.cc
M livestatus/src/TableHosts.h
M livestatus/src/TableHostsByGroup.cc
M livestatus/src/TableHostsByGroup.h
Log Message:
-----------
Improve query performance for hosts/hostsbygroup tables.
Check host visibility *before* filtering.
Added missing special case in the NEB for consistency, too, although it
doesn't really improve performance. This makes future refactorings easier.
Change-Id: I3d99a786cb9de6cfa49747b413647d103beb8fea