Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 1e5bc98663c9ff808ecf096fe08170f8700d8032
https://github.com/tribe29/checkmk/commit/1e5bc98663c9ff808ecf096fe08170f87…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2020-09-17 (Thu, 17 Sep 2020)
Changed paths:
M cmk/base/api/agent_based/checking_classes.py
M cmk/base/api/agent_based/clusterize.py
M cmk/base/api/agent_based/register/_config.py
M cmk/base/api/agent_based/register/check_plugins.py
M cmk/base/api/agent_based/register/check_plugins_legacy.py
M cmk/base/api/agent_based/register/export.py
M cmk/base/api/agent_based/register/utils.py
M cmk/base/api/agent_based/type_defs.py
M cmk/base/checking.py
M cmk/base/config.py
M cmk/base/discovered_labels.py
M cmk/base/discovery.py
M cmk/base/modes/check_mk.py
M cmk/base/plugins/agent_based/agent_based_api/v1/type_defs.py
M cmk/base/plugins/agent_based/mem_used.py
M tests/unit/cmk/base/api/agent_based/register/test__config.py
M tests/unit/cmk/base/api/agent_based/register/test_check_plugins_legacy.py
M tests/unit/cmk/base/api/agent_based/test_checking_classes.py
M tests/unit/cmk/base/checkers/test_data_sources.py
M tests/unit/cmk/base/plugins/agent_based/test_netscaler_vserver.py
M tests/unit/cmk/base/plugins/agent_based/test_services.py
M tests/unit/cmk/base/plugins/agent_based/utils/test_interfaces.py
M tests/unit/cmk/base/test_check_table.py
Log Message:
-----------
Check-API: clean up types
We move all types related to check plugins into checking_classes.
At the same time we make checking_classes independent from other
cmk/base code by adding an own 'ServiceLabel' class.
This has the following advantages:
* We can drop ABCDiscoveryGenerated and ABCCheckGenerated.
Multiple inheritance created unexpected behaviour when
the MRO pointed to different '__eq__' and '__ne__'
methods.
* The representation of the API facing ServiceLabel is now
independent from our internal implementation.
Change-Id: Ie731663a90c8f8aec8f0c0943e922f7fdd5a5c95
Commit: 74ee5e3def7361b24b9d26318b5c8cd223f6d3c4
https://github.com/tribe29/checkmk/commit/74ee5e3def7361b24b9d26318b5c8cd22…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2020-09-17 (Thu, 17 Sep 2020)
Changed paths:
M cmk/base/plugins/agent_based/agent_based_api/v1/type_defs.py
M cmk/base/plugins/agent_based/aix_diskiod.py
M cmk/base/plugins/agent_based/bluecat_dhcp.py
M cmk/base/plugins/agent_based/bluecat_dns.py
M cmk/base/plugins/agent_based/brocade_optical.py
M cmk/base/plugins/agent_based/cisco_mem_asa.py
M cmk/base/plugins/agent_based/cisco_wlc.py
M cmk/base/plugins/agent_based/diskstat.py
M cmk/base/plugins/agent_based/docker_container_status.py
M cmk/base/plugins/agent_based/domino_tasks.py
M cmk/base/plugins/agent_based/esx_vsphere_counters.py
M cmk/base/plugins/agent_based/esx_vsphere_hostsystem_cpu_usage.py
M cmk/base/plugins/agent_based/f5_bigip_cluster.py
M cmk/base/plugins/agent_based/f5_bigip_cluster_status.py
M cmk/base/plugins/agent_based/f5_bigip_vcmpguests.py
M cmk/base/plugins/agent_based/fritz.py
M cmk/base/plugins/agent_based/infoblox_services.py
M cmk/base/plugins/agent_based/juniper_trpz_aps.py
M cmk/base/plugins/agent_based/juniper_trpz_aps_sessions.py
M cmk/base/plugins/agent_based/liebert_humidity_air.py
M cmk/base/plugins/agent_based/liebert_system.py
M cmk/base/plugins/agent_based/liebert_temp_air.py
M cmk/base/plugins/agent_based/livestatus_status.py
M cmk/base/plugins/agent_based/lnx_if.py
M cmk/base/plugins/agent_based/mem_used.py
M cmk/base/plugins/agent_based/mssql_counters_cache_hits.py
M cmk/base/plugins/agent_based/mssql_counters_file_sizes.py
M cmk/base/plugins/agent_based/mssql_counters_locks.py
M cmk/base/plugins/agent_based/mssql_counters_locks_per_batch.py
M cmk/base/plugins/agent_based/mssql_counters_pageactivity.py
M cmk/base/plugins/agent_based/mssql_counters_sqlstats.py
M cmk/base/plugins/agent_based/mssql_counters_transactions.py
M cmk/base/plugins/agent_based/mssql_databases.py
M cmk/base/plugins/agent_based/mssql_datafiles_transactionlogs.py
M cmk/base/plugins/agent_based/netapp_api_if.py
M cmk/base/plugins/agent_based/netscaler_sslcertificates.py
M cmk/base/plugins/agent_based/netscaler_vserver.py
M cmk/base/plugins/agent_based/omd_status.py
M cmk/base/plugins/agent_based/oracle_asm_diskgroup.py
M cmk/base/plugins/agent_based/oracle_rman.py
M cmk/base/plugins/agent_based/prometheus_build.py
M cmk/base/plugins/agent_based/ps_check.py
M cmk/base/plugins/agent_based/sap_hana_data_volume.py
M cmk/base/plugins/agent_based/sap_hana_license.py
M cmk/base/plugins/agent_based/sap_hana_status.py
M cmk/base/plugins/agent_based/services.py
M cmk/base/plugins/agent_based/snmp_uptime.py
M cmk/base/plugins/agent_based/utils/bluecat.py
M cmk/base/plugins/agent_based/utils/cpu_util.py
M cmk/base/plugins/agent_based/utils/diskstat.py
M cmk/base/plugins/agent_based/utils/if64.py
M cmk/base/plugins/agent_based/utils/interfaces.py
M cmk/base/plugins/agent_based/utils/memory.py
M cmk/base/plugins/agent_based/utils/mssql_counters.py
M cmk/base/plugins/agent_based/utils/printer.py
M cmk/base/plugins/agent_based/utils/ps.py
M cmk/base/plugins/agent_based/utils/size_trend.py
M cmk/base/plugins/agent_based/utils/temperature.py
M cmk/base/plugins/agent_based/veritas_vcs.py
M cmk/base/plugins/agent_based/winperf_if.py
M cmk/base/plugins/agent_based/winperf_phydisk.py
Log Message:
-----------
CheckAPI: rename
* CheckGenerator -> CheckResult
* DiscoveryGenerator -> DiscoveryResult
Change-Id: I5ef121dbfd765bde8c6596141b9b31bb08e903b6
Compare:
https://github.com/tribe29/checkmk/compare/120f6c5e9596...74ee5e3def73