Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: c27282bd60a9646e2e1f7772459f7e3a7cb1e3ad
https://github.com/tribe29/checkmk/commit/c27282bd60a9646e2e1f7772459f7e3a7…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2022-06-27 (Mon, 27 Jun 2022)
Changed paths:
A .werks/13934
M cmk/gui/plugins/openapi/endpoints/host_config.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_host_config.py
Log Message:
-----------
13934 REST API: add effective_attribute switch to host list
This werk adds the "effective_attributes" switch to the host
configuration list endpoint of the REST API. If it is switched
to "true" all "effective attributes" will also be returned for
each host in the returned list. The default is "false" because
of performance reasons.
Change-Id: I0e14d462d9844e9f2e120af25453a2dfdce8010c
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: b07afcdedf42bd6a95b81e410740456a935fcc0d
https://github.com/tribe29/checkmk/commit/b07afcdedf42bd6a95b81e410740456a9…
Author: Max Linke <max.linke(a)tribe29.com>
Date: 2022-06-27 (Mon, 27 Jun 2022)
Changed paths:
M cmk/base/plugins/agent_based/gcp_filestore.py
M cmk/base/plugins/agent_based/gcp_function.py
M cmk/base/plugins/agent_based/gcp_gcs.py
M cmk/base/plugins/agent_based/gcp_redis.py
M cmk/base/plugins/agent_based/gcp_run.py
M cmk/base/plugins/agent_based/gcp_sql.py
M cmk/base/plugins/agent_based/utils/gcp.py
M tests/unit/cmk/base/plugins/agent_based/test_gcp_sql.py
Log Message:
-----------
refactor gcp checks
There was a lot of duplicate code between the check plugins. By
refactoring this we ensure now that almost all checks have the same behavior.
Furthermore it means in the future we only need to change one part of
the code to modify behavior.
Change-Id: Id6f61ba5fd54baf3ec05383cad3ed3e45faf9581
Commit: 33727f42686fe1060c4b818225616ce6ac003dd6
https://github.com/tribe29/checkmk/commit/33727f42686fe1060c4b818225616ce6a…
Author: Max Linke <max.linke(a)tribe29.com>
Date: 2022-06-27 (Mon, 27 Jun 2022)
Changed paths:
M tests/unit/cmk/base/plugins/agent_based/gcp_test_util.py
M tests/unit/cmk/base/plugins/agent_based/test_gcp_function.py
Log Message:
-----------
Add generic data generator for gcp tests
Change-Id: I8457b90b1fcfbecbe63b7dbb33d4deefb696ffe1
Commit: b2554b4344b13b5490fd1ee451a8829f98e6ee60
https://github.com/tribe29/checkmk/commit/b2554b4344b13b5490fd1ee451a8829f9…
Author: Max Linke <max.linke(a)tribe29.com>
Date: 2022-06-27 (Mon, 27 Jun 2022)
Changed paths:
M tests/unit/cmk/base/plugins/agent_based/gcp_test_util.py
M tests/unit/cmk/base/plugins/agent_based/test_gcp_function.py
Log Message:
-----------
rewrite gcp function tests
GCP check plugin tests have been a bit all over the place. This is the
first step to get a test concept implemented for gcp plugins.
In the tests we want to test generic behavior just once. Generic
behavior is that the check parameters are adhered to. That a plugin
behaves correct if data is missing. We do this only once because the
assumption is that all gcp check plugins use the identical
implementation function from ...agent_based.utils.gcp.
What we do want to test for every check plugin is that the configuration
of check is correct. That includes we generate the correct number of
results and metrics, metrics have the expected names, and results have
the correct summary and details. Those vary between plugins. By using
the generic test data generator that works on the SERVICE definitions of
the gcp agent we can also ensure that the check plugin configurations
look for the correct timeseries in the section data.
After this all gcp test can skip the generic behavior test without losing
any test coverage.
Change-Id: Ic2b049e660ad78904b257613fed7e251437fee58
Commit: 555fc22d78ffc3d105509e9e69ec91b1e7ebea83
https://github.com/tribe29/checkmk/commit/555fc22d78ffc3d105509e9e69ec91b1e…
Author: Max Linke <max.linke(a)tribe29.com>
Date: 2022-06-27 (Mon, 27 Jun 2022)
Changed paths:
M tests/unit/cmk/base/plugins/agent_based/test_gcp_filestore.py
Log Message:
-----------
simplify gcp filestore tests
Change-Id: Iac58cecd1b5263749db5a8d18686ff01bfa85477
Commit: 92e5dc59fec74f0390e147387990c352dafaefbf
https://github.com/tribe29/checkmk/commit/92e5dc59fec74f0390e147387990c352d…
Author: Max Linke <max.linke(a)tribe29.com>
Date: 2022-06-27 (Mon, 27 Jun 2022)
Changed paths:
M cmk/base/plugins/agent_based/gcp_gcs.py
M tests/unit/cmk/base/plugins/agent_based/test_gcp_gcs.py
M tests/unit/cmk/base/plugins/agent_based/test_synology_disk.py
Log Message:
-----------
simplify gcp gcs tests
Change-Id: I5335ba1db8d915e243efc5bc336dbb53dd383d79
Commit: ed6b08a6af5072788db84435a0c6ead8bf1c2c36
https://github.com/tribe29/checkmk/commit/ed6b08a6af5072788db84435a0c6ead8b…
Author: Max Linke <max.linke(a)tribe29.com>
Date: 2022-06-27 (Mon, 27 Jun 2022)
Changed paths:
M tests/unit/cmk/base/plugins/agent_based/test_gcp_redis.py
Log Message:
-----------
simplify gcp redis tests
Change-Id: I5d259996325a7b67a6ed1bcc0fec898c8f04c819
Commit: c636ef83bb7285c2e1347284710b7b7bb49d1bcd
https://github.com/tribe29/checkmk/commit/c636ef83bb7285c2e1347284710b7b7bb…
Author: Max Linke <max.linke(a)tribe29.com>
Date: 2022-06-27 (Mon, 27 Jun 2022)
Changed paths:
M cmk/base/plugins/agent_based/gcp_sql.py
M tests/unit/cmk/base/plugins/agent_based/test_gcp_sql.py
Log Message:
-----------
simplify gcp cloudsql tests
Change-Id: I2381e03ec03c107916c5da7701be8d69f31e3217
Commit: fd9ac9d1276c2b8a1f7c19ee141d5ad36b08be2b
https://github.com/tribe29/checkmk/commit/fd9ac9d1276c2b8a1f7c19ee141d5ad36…
Author: Max Linke <max.linke(a)tribe29.com>
Date: 2022-06-27 (Mon, 27 Jun 2022)
Changed paths:
M cmk/base/plugins/agent_based/gcp_run.py
M cmk/special_agents/agent_gcp.py
M tests/unit/cmk/base/plugins/agent_based/test_gcp_run.py
Log Message:
-----------
refactor gcp run
update tests to follow new testing of check configuration. This is
currently special for cloud run because I do not know how to generalize
the additional filters in the query to gcp.
This discovered 2 mistakes in the configuration of the requests check.
Change-Id: Ied717a28ac8db722a16180b4290ca5f2e6b566c2
Commit: 5da36e88dfb0426fedc51bec38b1d889711ab4f8
https://github.com/tribe29/checkmk/commit/5da36e88dfb0426fedc51bec38b1d8897…
Author: Max Linke <max.linke(a)tribe29.com>
Date: 2022-06-27 (Mon, 27 Jun 2022)
Changed paths:
M cmk/special_agents/agent_gcp.py
M tests/unit/cmk/special_agents/test_agent_gcp.py
Log Message:
-----------
pass agent config to asset section of gcp agent
Change-Id: I561c141794770173dc1d60f8f9ca673d6afe89fe
Compare: https://github.com/tribe29/checkmk/compare/f27a98306f5c...5da36e88dfb0
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: f27a98306f5c6aa5b9099e9d0ab45aee6a0acfb5
https://github.com/tribe29/checkmk/commit/f27a98306f5c6aa5b9099e9d0ab45aee6…
Author: Max Linke <max.linke(a)tribe29.com>
Date: 2022-06-27 (Mon, 27 Jun 2022)
Changed paths:
R checks/nfsiostat
A cmk/base/plugins/agent_based/nfsiostat.py
R tests/unit/checks/generictests/datasets/nfsiostat.py
R tests/unit/checks/generictests/datasets/nfsiostat2.py
M tests/unit/checks/test_generic_legacy_conversion.py
A tests/unit/cmk/base/plugins/agent_based/test_nfsiostat.py
Log Message:
-----------
migrate nfsiostat plugin to new API
Change-Id: I855ad8f51a6f67567596f3edeac05cdf098a13a6
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: ff07125718ee0d59a4d089b81c5a40b8240d9919
https://github.com/tribe29/checkmk/commit/ff07125718ee0d59a4d089b81c5a40b82…
Author: LukaRacic <luka.racic(a)tribe29.com>
Date: 2022-06-27 (Mon, 27 Jun 2022)
Changed paths:
A cmk/base/plugins/agent_based/fjdarye_channel_adapters.py
A tests/unit/cmk/base/plugins/agent_based/test_fjdarye_channel_adapters.py
Log Message:
-----------
fdarye: Migrated fjdarye_item to new API
Migrated the parse, discovery and check function
Adapted tests
Change-Id: Ie719fa5236b4fbfa217de92923a129b6dfef5684
Commit: 6293c54024353a4b7b0aad6061ecad6040e469d3
https://github.com/tribe29/checkmk/commit/6293c54024353a4b7b0aad6061ecad604…
Author: LukaRacic <luka.racic(a)tribe29.com>
Date: 2022-06-27 (Mon, 27 Jun 2022)
Changed paths:
R checkman/fjdarye100_cadaps
R checkman/fjdarye101_cadaps
R checkman/fjdarye500_cadaps
R checkman/fjdarye60_cadaps
A checkman/fjdarye_channel_adapters
R checks/fjdarye100_cadaps
R checks/fjdarye101_cadaps
R checks/fjdarye500_cadaps
R checks/fjdarye60_cadaps
M cmk/base/plugins/agent_based/fjdarye_channel_adapters.py
M cmk/update_config.py
M tests/unit/checks/test_generic_legacy_conversion.py
Log Message:
-----------
fjdarye: Migrated fjdarye_cadaps check to new API
Change-Id: Ia2186f0358a3d6d65b2762c0bdfba25e18ec8bb7
Compare: https://github.com/tribe29/checkmk/compare/67afb1362536...6293c5402435
Branch: refs/heads/2.0.0
Home: https://github.com/tribe29/checkmk
Commit: 8fc59f74ece4321d8690b7318068600dd0e5cf76
https://github.com/tribe29/checkmk/commit/8fc59f74ece4321d8690b7318068600dd…
Author: Maximilian Wirtz <maximilian.wirtz(a)tribe29.com>
Date: 2022-06-27 (Mon, 27 Jun 2022)
Changed paths:
A .werks/13904
M Pipfile
M Pipfile.lock
M cmk/gui/plugins/openapi/restful_objects/code_examples.py
M omd/packages/python3-modules/python3-modules.make
R omd/packages/python3-modules/src/Cython-0.29.19.tar.gz
A omd/packages/python3-modules/src/Cython-0.29.30.tar.gz
R omd/packages/python3-modules/src/Flask-1.1.1.tar.gz
A omd/packages/python3-modules/src/Flask-2.1.2.tar.gz
R omd/packages/python3-modules/src/Flask-Babel-1.0.0.tar.gz
A omd/packages/python3-modules/src/Flask-Babel-2.0.0.tar.gz
R omd/packages/python3-modules/src/Jinja2-2.11.3.tar.gz
A omd/packages/python3-modules/src/Jinja2-3.1.2.tar.gz
R omd/packages/python3-modules/src/MarkupSafe-1.1.1.tar.gz
A omd/packages/python3-modules/src/MarkupSafe-2.1.1.tar.gz
R omd/packages/python3-modules/src/Pillow-8.3.2.tar.gz
A omd/packages/python3-modules/src/Pillow-9.1.1.tar.gz
M omd/packages/python3-modules/src/Pillow-download
R omd/packages/python3-modules/src/Werkzeug-2.0.2.tar.gz
A omd/packages/python3-modules/src/Werkzeug-2.1.2.tar.gz
R omd/packages/python3-modules/src/click-7.1.2.tar.gz
A omd/packages/python3-modules/src/click-8.1.3.tar.gz
R omd/packages/python3-modules/src/importlib_metadata-1.2.0.tar.gz
A omd/packages/python3-modules/src/importlib_metadata-4.10.1.tar.gz
R omd/packages/python3-modules/src/itsdangerous-1.1.0.tar.gz
A omd/packages/python3-modules/src/itsdangerous-2.1.2.tar.gz
R omd/packages/python3-modules/src/numpy-1.18.4.tar.gz
A omd/packages/python3-modules/src/numpy-1.22.4.zip
Log Message:
-----------
Revert "Revert "Revert "Revert "13904 SEC Update vulnerable Python dependencies""""
This reverts commit 7bb07f1240e210b407ec8858f54c3d97f5c3e941.
Changes:
- downgrade of importlib to 4.10.1 (last version with setup.py)
- upgrade of Cython to 0.29.30
Change-Id: I6102e29a69d7f11e9f5feaff9417a051bcbbab33
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 67afb1362536576033616ef53cb8b912f895c14f
https://github.com/tribe29/checkmk/commit/67afb1362536576033616ef53cb8b912f…
Author: Lisa Pichler <lisa.pichler(a)tribe29.com>
Date: 2022-06-27 (Mon, 27 Jun 2022)
Changed paths:
M cmk/base/check_legacy_includes/df.py
M cmk/base/plugins/agent_based/utils/df.py
M tests/unit/cmk/base/plugins/agent_based/utils/test_df.py
Log Message:
-----------
df: put stuff where it belongs
SUP-3322
Change-Id: I983a4d45276fe699f3e66c55deee2856aa4cafd7
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 4c37d0528da1e2aebfadbaa9a6854a163f27aaf0
https://github.com/tribe29/checkmk/commit/4c37d0528da1e2aebfadbaa9a6854a163…
Author: Lisa Pichler <lisa.pichler(a)tribe29.com>
Date: 2022-06-27 (Mon, 27 Jun 2022)
Changed paths:
M cmk/base/plugins/agent_based/k8s_stats_fs.py
M cmk/base/plugins/agent_based/utils/df.py
M tests/unit/checks/checktestlib.py
M tests/unit/cmk/base/plugins/agent_based/test_fast_lta_silent_cubes_capacity.py
M tests/unit/cmk/base/plugins/agent_based/test_hitachi_hnas_volume.py
M tests/unit/cmk/base/plugins/agent_based/test_k8s_stats.py
M tests/unit/cmk/base/plugins/agent_based/test_netapp_api_qtree_quota.py
M tests/unit/cmk/base/plugins/agent_based/test_network_fs_mounts.py
M tests/unit/cmk/base/plugins/agent_based/test_sap_hana_diskusage.py
M tests/unit/cmk/base/plugins/agent_based/utils/test_df.py
Log Message:
-----------
df: refactor magic factor and levels determination
SUP-3322
Change-Id: Icbd1af4cd0a5b6c569793a19a72bfbe1f153b786
Commit: be0b94ace66fe8d1a1abb3f4e0f86f791cf11155
https://github.com/tribe29/checkmk/commit/be0b94ace66fe8d1a1abb3f4e0f86f791…
Author: Lisa Pichler <lisa.pichler(a)tribe29.com>
Date: 2022-06-27 (Mon, 27 Jun 2022)
Changed paths:
M checks/3par_capacity
M checks/3par_cpgs
M checks/3par_system
M checks/3par_volumes
M checks/aix_paging
M checks/arbor_peakflow_sp
M checks/arbor_peakflow_tms
M checks/arbor_pravail
M checks/cadvisor_df
M checks/ceph_df
M checks/datapower_fs
M checks/db2_logsizes
M checks/dell_compellent_folder
M checks/df
M checks/df_netapp
M checks/df_netapp32
M checks/df_netscaler
M checks/df_zos
M checks/emc_datadomain_fs
M checks/emc_isilon_ifs
M checks/emc_isilon_quota
M checks/emcvnx_raidgroups
M checks/esx_vsphere_counters
M checks/esx_vsphere_datastores
M checks/fast_lta_silent_cubes
M checks/fast_lta_volumes
M checks/fjdarye200_pools
M checks/hitachi_hnas_span
M checks/hp_msa_volume
M checks/hr_fs
M checks/ibm_svc_mdiskgrp
M checks/libelle_business_shadow
M checks/lvm_vgs
M checks/netapp_api_aggr
M checks/netapp_api_luns
M checks/netapp_api_volumes
M checks/nimble_volumes
M checks/prism_storage_pools
M checks/scaleio_pd
M checks/scaleio_sds
M checks/scaleio_storage_pool
M checks/scaleio_system
M checks/storeonce4x_appliances
M checks/storeonce4x_cat_stores
M checks/storeonce_clusterinfo
M checks/storeonce_servicesets
M checks/ucd_disk
M checks/vms_diskstat
M checks/zfsget
M checks/zpool
M cmk/base/check_legacy_includes/df.py
M cmk/base/plugins/agent_based/fortisandbox_disk_usage.py
M cmk/base/plugins/agent_based/hitachi_hnas_volume.py
M cmk/base/plugins/agent_based/k8s_stats_fs.py
M cmk/base/plugins/agent_based/netapp_api_qtree_quota.py
M cmk/base/plugins/agent_based/network_fs_mounts.py
M cmk/base/plugins/agent_based/oracle_asm_diskgroup.py
M cmk/base/plugins/agent_based/sap_hana_data_volume.py
M cmk/base/plugins/agent_based/sap_hana_diskusage.py
M cmk/base/plugins/agent_based/utils/df.py
M cmk/base/plugins/agent_based/vnx_quotas.py
M tests/unit/checks/generictests/datasets/db2_logsizes_regression.py
M tests/unit/checks/generictests/datasets/df_lnx_include_exclude.py
M tests/unit/checks/generictests/datasets/df_lnx_regression.py
M tests/unit/checks/generictests/datasets/emc_isilon_ifs_regression.py
M tests/unit/checks/generictests/datasets/emc_isilon_quota_regression.py
M tests/unit/checks/generictests/datasets/esx_vsphere_datastores_regression.py
M tests/unit/checks/generictests/datasets/fast_lta_volumes.py
M tests/unit/checks/generictests/datasets/netapp_api_volumes.py
M tests/unit/checks/generictests/datasets/storeonce4x_appliances.py
M tests/unit/checks/generictests/datasets/storeonce_servicesets_old_format.py
M tests/unit/checks/generictests/datasets/storeonce_servicesets_regression.py
M tests/unit/checks/test_df_check.py
M tests/unit/checks/test_generic_legacy_conversion.py
M tests/unit/checks/test_hp_msa_volume.py
M tests/unit/cmk/base/check_legacy_includes/test_df.py
M tests/unit/cmk/base/plugins/agent_based/test_docker_container_diskstat_cgroupv2.py
M tests/unit/cmk/base/plugins/agent_based/test_fast_lta_silent_cubes_capacity.py
M tests/unit/cmk/base/plugins/agent_based/test_fast_lta_volumes.py
M tests/unit/cmk/base/plugins/agent_based/test_hitachi_hnas_volume.py
M tests/unit/cmk/base/plugins/agent_based/test_k8s_stats.py
M tests/unit/cmk/base/plugins/agent_based/test_netapp_api_qtree_quota.py
M tests/unit/cmk/base/plugins/agent_based/test_network_fs_mounts.py
M tests/unit/cmk/base/plugins/agent_based/test_oracle_asm_diskgroup.py
M tests/unit/cmk/base/plugins/agent_based/test_sap_hana_data_volume.py
M tests/unit/cmk/base/plugins/agent_based/test_sap_hana_diskusage.py
M tests/unit/cmk/base/plugins/agent_based/utils/test_df.py
Log Message:
-----------
df: remove parameter overwriting inside get levels function
Default parameters are determined implicitly by the
get_filesystem_levels function. It is the job of the check register to
know what default levels are and how to merge them.
The implicit overwriting of default levels by a helper function must not
be restored!
SUP-3322
Change-Id: Ia7128077223bc16d539dd4536322868906b0faa7
Compare: https://github.com/tribe29/checkmk/compare/39a5f1446d0a...be0b94ace66f