Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: aac362e946b8d036ce9d0192bf5525162788184a
https://github.com/Checkmk/checkmk/commit/aac362e946b8d036ce9d0192bf5525162…
Author: Moritz Kiemer <moritz.kiemer(a)checkmk.com>
Date: 2023-07-28 (Fri, 28 Jul 2023)
Changed paths:
M cmk/utils/prediction/_plugin_interface.py
M cmk/utils/prediction/_prediction.py
M tests/unit/cmk/utils/test_prediction_commons.py
Log Message:
-----------
prediction: remove wrong type annotation
The function get_predictive_levels is only
called in the context of check plugins.
'MetricName', 'HostName' and 'ServiceDescription' were
never part of the plugin API, so if they *were* something
else then 'str', the plugins would not be able to pass
them.
Change-Id: I52313172c5def57320543839160cbe26648707bb
Commit: 9a2f27788da43a15a7a096a9dff8ab7b55c50bb4
https://github.com/Checkmk/checkmk/commit/9a2f27788da43a15a7a096a9dff8ab7b5…
Author: Moritz Kiemer <moritz.kiemer(a)checkmk.com>
Date: 2023-07-28 (Fri, 28 Jul 2023)
Changed paths:
M cmk/utils/prediction/_plugin_interface.py
M cmk/utils/prediction/_prediction.py
Log Message:
-----------
prediction: factor out computation of prediction
Change-Id: I0e34ee06b28f6023838f89523f0953dc2204e186
Commit: 88e6e223693a3537b39c30817cd0ad461b41a2c7
https://github.com/Checkmk/checkmk/commit/88e6e223693a3537b39c30817cd0ad461…
Author: Moritz Kiemer <moritz.kiemer(a)checkmk.com>
Date: 2023-07-28 (Fri, 28 Jul 2023)
Changed paths:
M cmk/utils/prediction/__init__.py
M cmk/utils/prediction/_plugin_interface.py
M cmk/utils/prediction/_prediction.py
M tests/integration/cmk/base/test_services_prediction.py
M tests/unit/cmk/base/test_prediction.py
M tests/unit/cmk/utils/test_prediction_commons.py
Log Message:
-----------
prediction: move functions around
_plugin_interface now only contains what is needed to compute
the levels from the prediction.
Change-Id: I883bc722d76fd56a08dde46a038e7f0282d0eb87
Commit: 0b21f9d29fb4d79c9048b12780404e05d9be107f
https://github.com/Checkmk/checkmk/commit/0b21f9d29fb4d79c9048b12780404e05d…
Author: Moritz Kiemer <moritz.kiemer(a)checkmk.com>
Date: 2023-07-28 (Fri, 28 Jul 2023)
Changed paths:
M cmk/utils/prediction/_plugin_interface.py
A tests/unit/cmk/utils/prediction/test_plugin_interface.py
M tests/unit/cmk/utils/test_prediction_commons.py
Log Message:
-----------
prediction: inline computation of reference deviation
Change-Id: Id75d6182d6cfa8b787645e617f5dca90ed9a8b60
Commit: 2aaab36fc97a77c39eb9783dcfcd79ff978d45aa
https://github.com/Checkmk/checkmk/commit/2aaab36fc97a77c39eb9783dcfcd79ff9…
Author: Moritz Kiemer <moritz.kiemer(a)checkmk.com>
Date: 2023-07-28 (Fri, 28 Jul 2023)
Changed paths:
M cmk/base/check_legacy_includes/azure.py
M cmk/base/check_legacy_includes/diskstat.py
M cmk/base/check_legacy_includes/firewall_if.py
M cmk/base/check_legacy_includes/graylog.py
M cmk/base/check_legacy_includes/size_trend.py
M cmk/base/check_legacy_includes/temperature.py
M cmk/base/check_legacy_includes/wmi.py
M cmk/base/legacy_checks/aironet_errors.py
M cmk/base/legacy_checks/appdynamics_sessions.py
M cmk/base/legacy_checks/appdynamics_web_container.py
M cmk/base/legacy_checks/artec_documents.py
M cmk/base/legacy_checks/atto_fibrebridge_fcport.py
M cmk/base/legacy_checks/ceph_status.py
M cmk/base/legacy_checks/checkpoint_packets.py
M cmk/base/legacy_checks/couchbase_nodes_cache.py
M cmk/base/legacy_checks/db2_counters.py
M cmk/base/legacy_checks/docsis_channels_upstream.py
M cmk/base/legacy_checks/drbd.py
M cmk/base/legacy_checks/emcvnx_disks.py
M cmk/base/legacy_checks/emcvnx_hba.py
M cmk/base/legacy_checks/emcvnx_sp_util.py
M cmk/base/legacy_checks/f5_bigip_conns.py
M cmk/base/legacy_checks/f5_bigip_interfaces.py
M cmk/base/legacy_checks/f5_bigip_snat.py
M cmk/base/legacy_checks/f5_bigip_vserver.py
M cmk/base/legacy_checks/fc_port.py
M cmk/base/legacy_checks/fireeye_mail.py
M cmk/base/legacy_checks/hpux_snmp_cs.py
M cmk/base/legacy_checks/innovaphone_priports_l1.py
M cmk/base/legacy_checks/j4p_performance.py
M cmk/base/legacy_checks/jolokia_generic.py
M cmk/base/legacy_checks/jolokia_jvm_garbagecollectors.py
M cmk/base/legacy_checks/jolokia_jvm_threading.py
M cmk/base/legacy_checks/jolokia_metrics.py
M cmk/base/legacy_checks/mkeventd_status.py
M cmk/base/legacy_checks/mongodb_asserts.py
M cmk/base/legacy_checks/mongodb_connections.py
M cmk/base/legacy_checks/mongodb_counters.py
M cmk/base/legacy_checks/mysql.py
M cmk/base/legacy_checks/netapp_api_vs_traffic.py
M cmk/base/legacy_checks/netapp_fcpio.py
M cmk/base/legacy_checks/openvpn_clients.py
M cmk/base/legacy_checks/postgres_stat_database.py
M cmk/base/legacy_checks/qlogic_fcport.py
M cmk/base/legacy_checks/safenet_hsm.py
M cmk/base/legacy_checks/safenet_ntls.py
M cmk/base/legacy_checks/sophos_messages.py
M cmk/base/legacy_checks/stormshield_packets.py
M cmk/base/legacy_checks/varnish.py
M cmk/base/legacy_checks/winperf.py
M tests/unit/checks/generictests/datasets/3ware_disks.py
M tests/unit/checks/generictests/datasets/azure_databases.py
M tests/unit/checks/generictests/datasets/azure_sites.py
M
tests/unit/checks/generictests/datasets/ceph_status_mgrs_missing_epoch_regression.py
M tests/unit/checks/generictests/datasets/ceph_status_new.py
M tests/unit/checks/generictests/datasets/ceph_status_new2.py
M tests/unit/checks/generictests/datasets/ceph_status_osds_regression.py
M tests/unit/checks/generictests/datasets/ceph_status_partial_keys_regression.py
M tests/unit/checks/generictests/datasets/ceph_status_regression.py
M
tests/unit/checks/generictests/datasets/checkpoint_packets_missing_encryption_regression.py
M tests/unit/checks/generictests/datasets/checkpoint_packets_regression.py
M tests/unit/checks/generictests/datasets/checkpoint_vsx.py
M tests/unit/checks/generictests/datasets/emcvnx_hba.py
M tests/unit/checks/generictests/datasets/f5_bigip_conns.py
M tests/unit/checks/generictests/datasets/f5_bigip_interfaces.py
M tests/unit/checks/generictests/datasets/f5_bigip_snat.py
M tests/unit/checks/generictests/datasets/f5_bigip_vserver.py
M tests/unit/checks/generictests/datasets/f5_bigip_vserver_division_regression.py
M tests/unit/checks/generictests/datasets/f5_bigip_vserver_regression.py
M tests/unit/checks/generictests/datasets/fc_port.py
M tests/unit/checks/generictests/datasets/fireeye_mail.py
M tests/unit/checks/generictests/datasets/graylog_messages.py
M tests/unit/checks/generictests/datasets/jolokia_jvm_garbagecollectors.py
M tests/unit/checks/generictests/datasets/jolokia_jvm_threading_regression.py
M
tests/unit/checks/generictests/datasets/msexch_activesync_server_windows_exchange_1_regression.py
M
tests/unit/checks/generictests/datasets/msexch_autodiscovery_server_windows_kaspersky_error_2_regression.py
M
tests/unit/checks/generictests/datasets/msexch_availability_server_windows_exchange_1_regression.py
M
tests/unit/checks/generictests/datasets/msexch_isclienttype_server_windows_exchange_1_regression.py
M
tests/unit/checks/generictests/datasets/msexch_owa_server_windows_exchange_1_regression.py
M
tests/unit/checks/generictests/datasets/msexch_rpcclientaccess_server_windows_kaspersky_error_2_regression.py
M tests/unit/checks/generictests/datasets/mysql_1_regression.py
M tests/unit/checks/generictests/datasets/mysql_no_galera_services.py
M tests/unit/checks/generictests/datasets/skype_skype_1_regression.py
M tests/unit/checks/generictests/datasets/skype_skype_2_regression.py
M tests/unit/checks/generictests/datasets/skype_skype_3_regression.py
M tests/unit/checks/generictests/datasets/varnish_new_format_regression.py
M tests/unit/checks/generictests/datasets/varnish_old_format_regression.py
M
tests/unit/checks/generictests/datasets/wmi_webservices_server_windows_exchange_1_regression.py
M tests/unit/checks/test_diskstat_include.py
M tests/unit/checks/test_f5_bigip_vserver.py
M tests/unit/checks/test_mongodb_connections.py
M tests/unit/checks/test_wmi_check.py
Log Message:
-----------
legacy checks: use modern get_rate
Change-Id: I56ea86feea2f534838e0f5c35be73177e36bb4b4
Compare:
https://github.com/Checkmk/checkmk/compare/b9d9deec71b9...2aaab36fc97a