Branch: refs/heads/master
Home: https://github.com/Checkmk/checkmk
Commit: 7184d44be66236ea9c5df23fe2e70abeefd5cded
https://github.com/Checkmk/checkmk/commit/7184d44be66236ea9c5df23fe2e70abee…
Author: Sofia Colakovic <sofia.colakovic(a)checkmk.com>
Date: 2023-06-15 (Thu, 15 Jun 2023)
Changed paths:
A .werks/15760
M agents/plugins/mk_oracle
Log Message:
-----------
15760 FIX mk_oracle: '--no-spool' command-line option added
Previously, mk_oracle behaved differently depending on if it was
run from CLI or the Checkmk agent. The approach wasn't consistent
and led to errors if the script was called from CLI without arguments.
Now, mk_oracle will always behave as if run from the agent unless
additional arguments are provided.
Additionally, new command-line argument was introduced, '--no-spool'.
If used on host with systemd, the output of mk_oracle will be written
to stdout instead of the spool file. The option doesn't influence the behavior
of the script if xinetd is used.
SUP-14521
Change-Id: Ibfd1f1b4d874ebbe27c40869b808394be699f5b9
Branch: refs/heads/master
Home: https://github.com/Checkmk/checkmk
Commit: 50d6aee0671861d2a068298f4b761f40a88d508e
https://github.com/Checkmk/checkmk/commit/50d6aee0671861d2a068298f4b761f40a…
Author: Benedikt Seidl <benedikt.seidl(a)checkmk.com>
Date: 2023-06-15 (Thu, 15 Jun 2023)
Changed paths:
M cmk/utils/werks/__init__.py
M cmk/utils/werks/werkv1.py
M cmk/utils/werks/werkv2.py
M tests/unit/cmk/utils/test_werks.py
Log Message:
-----------
change interface of load_werk_* functions
previously the path was provided, now the content has to be provided.
the next commit will introduce a mechanism to load werks directly from
git history, without checking out the git branch. in this case we don't
have access to a file, but load the contents of the file.
Change-Id: Ie1b64ed8552e966f48c66925aacf1dc7c597f192
Commit: 47e90d9700f0db7258ddeb27247afcd2bec8531c
https://github.com/Checkmk/checkmk/commit/47e90d9700f0db7258ddeb27247afcd2b…
Author: Benedikt Seidl <benedikt.seidl(a)checkmk.com>
Date: 2023-06-15 (Thu, 15 Jun 2023)
Changed paths:
M Pipfile
M Pipfile.lock
M cmk/utils/werks/__main__.py
A cmk/utils/werks/collect.py
M cmk/utils/werks/werkv1.py
Log Message:
-----------
load werks from all branches in git
currently not all branches are evaluated when creating all_werks.json
this script uses some git foo to extract them without checking out the
branches.
wget -O /tmp/all_werks.json https://download.checkmk.com/all_werks.json
jq --sort-keys . /tmp/all_werks.json > /tmp/web.json
python3 -m cmk.utils.werks collect cmk path/to/cmk > cmk.json
python3 -m cmk.utils.werks collect cma path/to/cma > cma.json
python3 -m cmk.utils.werks collect checkmk_kube_agent path/to/checkmk_kube_agent > kube.json
jq -s '.[0] * .[1] * .[2]' cma.json cmk.json kube.json > all_werks.json
jq --sort-keys . all_werks.json > /tmp/collect.json
git diff /tmp/web.json /tmp/collect.json
the dependency `GitPython` was already installed as it is a dependency
of bandit, but it has to be explicitly defined as dev dependency.
CMK-12815
Change-Id: I186a1f76af4c86de61e34f77862981c0d9fac185
Compare: https://github.com/Checkmk/checkmk/compare/3d01e90e6993...47e90d9700f0
Branch: refs/heads/2.2.0
Home: https://github.com/Checkmk/checkmk
Commit: c5912ab760706cebcdcc3330a8ba3981e43ef7b8
https://github.com/Checkmk/checkmk/commit/c5912ab760706cebcdcc3330a8ba3981e…
Author: Sofia Colakovic <sofia.colakovic(a)checkmk.com>
Date: 2023-06-15 (Thu, 15 Jun 2023)
Changed paths:
A .werks/15760
M agents/plugins/mk_oracle
Log Message:
-----------
15760 FIX mk_oracle: '--no-spool' command-line option added
Previously, mk_oracle behaved differently depending on if it was
run from CLI or the Checkmk agent. The approach wasn't consistent
and led to errors if the script was called from CLI without arguments.
Now, mk_oracle will always behave as if run from the agent unless
additional arguments are provided.
Additionally, new command-line argument was introduced, '--no-spool'.
If used on host with systemd, the output of mk_oracle will be written
to stdout instead of the spool file. The option doesn't influence the behavior
of the script if xinetd is used.
SUP-14521
Change-Id: Ibfd1f1b4d874ebbe27c40869b808394be699f5b9
Branch: refs/heads/master
Home: https://github.com/Checkmk/checkmk
Commit: 3ed9ccbb052c738c0fd8ab89ca0e7378f93cbd9b
https://github.com/Checkmk/checkmk/commit/3ed9ccbb052c738c0fd8ab89ca0e7378f…
Author: Mathias Laurin <mathias.laurin(a)checkmk.com>
Date: 2023-06-15 (Thu, 15 Jun 2023)
Changed paths:
M cmk/automations/results.py
M cmk/base/agent_based/discovery/autodiscovery.py
M cmk/base/automations/check_mk.py
M cmk/checkengine/discovery/__init__.py
A cmk/checkengine/discovery/_autodiscovery.py
M cmk/gui/watolib/bulk_discovery.py
M cmk/utils/type_defs/__init__.py
M cmk/utils/type_defs/_misc.py
M tests/integration/cmk/base/test_automations.py
M tests/unit/cmk/automations/test_results.py
M tests/unit/cmk/base/agent_based/discovery/test_discovery.py
Log Message:
-----------
Move `DiscoveryResult` to discovery module
CMK-13768
Change-Id: Ia31ec2bc9b4d037d0017b29a18f726ce96472d84
Commit: d723c159d78709e2497f7762ca6961c8e942b20d
https://github.com/Checkmk/checkmk/commit/d723c159d78709e2497f7762ca6961c8e…
Author: Mathias Laurin <mathias.laurin(a)checkmk.com>
Date: 2023-06-15 (Thu, 15 Jun 2023)
Changed paths:
M cmk/base/config.py
M cmk/base/core_nagios.py
M cmk/base/default_config/base.py
M cmk/base/modes/check_mk.py
M cmk/bi/lib.py
M cmk/bi/trees.py
M cmk/bi/type_defs.py
M cmk/utils/type_defs/__init__.py
M cmk/utils/type_defs/host.py
Log Message:
-----------
Localize HostState and HostgroupName
Move those two low-value aliases where they are used. Having code
that's barely used at the same place as HostAddress and HostName that
are used everywhere is really not a good idea.
CMK-13768
Change-Id: I2097b48a426162d68f8339d6ffcfe06ba5fe573c
Commit: 3d01e90e6993fcdfd5c160e00c6a3e85a043dc9c
https://github.com/Checkmk/checkmk/commit/3d01e90e6993fcdfd5c160e00c6a3e85a…
Author: Mathias Laurin <mathias.laurin(a)checkmk.com>
Date: 2023-06-15 (Thu, 15 Jun 2023)
Changed paths:
M cmk/automations/results.py
M cmk/base/_autochecks.py
M cmk/base/agent_based/checking/_checking.py
M cmk/base/agent_based/discovery/_discovered_services.py
M cmk/base/agent_based/discovery/_discovery.py
M cmk/base/agent_based/discovery/autodiscovery.py
M cmk/base/agent_based/discovery/commandline.py
M cmk/base/agent_based/discovery/preview.py
M cmk/base/api/agent_based/cluster_mode.py
M cmk/base/api/agent_based/utils.py
M cmk/base/api/agent_based/value_store/_global_state.py
M cmk/base/api/agent_based/value_store/_utils.py
M cmk/base/automations/check_mk.py
M cmk/base/check_api.py
M cmk/base/checkers.py
M cmk/base/config.py
M cmk/base/core.py
M cmk/base/core_config.py
M cmk/base/core_nagios.py
M cmk/base/default_config/base.py
M cmk/base/diagnostics.py
M cmk/base/dump_host.py
M cmk/base/events.py
M cmk/base/export.py
M cmk/base/ip_lookup.py
M cmk/base/legacy_checks/check_http.py
M cmk/base/legacy_checks/check_smtp.py
M cmk/base/legacy_checks/check_traceroute.py
M cmk/base/modes/__init__.py
M cmk/base/modes/check_mk.py
M cmk/base/notify.py
M cmk/base/parent_scan.py
M cmk/base/plugins/agent_based/checkmk_agent.py
M cmk/base/plugins/agent_based/logwatch_ec.py
M cmk/base/prediction.py
M cmk/base/rrd.py
M cmk/base/sources/_builder.py
M cmk/base/sources/_sources.py
M cmk/bi/aggregation.py
M cmk/bi/computer.py
M cmk/bi/data_fetcher.py
M cmk/bi/lib.py
M cmk/bi/search.py
M cmk/bi/trees.py
M cmk/checkengine/_api.py
M cmk/checkengine/_markers.py
M cmk/checkengine/_parseragent.py
M cmk/checkengine/_parsersnmp.py
M cmk/checkengine/_typedefs.py
M cmk/checkengine/checkresults.py
M cmk/checkengine/crash_reporting.py
M cmk/checkengine/discovery/_autochecks.py
M cmk/checkengine/discovery/_host_labels.py
M cmk/checkengine/error_handling.py
M cmk/checkengine/host_sections.py
M cmk/checkengine/inventory.py
M cmk/checkengine/plugin_contexts.py
M cmk/checkengine/sectionparser.py
M cmk/checkengine/submitters.py
M cmk/checkengine/summarize.py
M cmk/ec/core_queries.py
M cmk/ec/event.py
M cmk/ec/host_config.py
M cmk/ec/main.py
M cmk/fetchers/_ipmi.py
M cmk/fetchers/_piggyback.py
M cmk/fetchers/_tcp.py
M cmk/fetchers/config.py
M cmk/fetchers/filecache/_cache.py
M cmk/gui/autocompleters.py
M cmk/gui/availability.py
M cmk/gui/bi/view.py
M cmk/gui/dashboard/dashlet/dashlets/graph.py
M cmk/gui/inventory.py
M cmk/gui/logwatch.py
M cmk/gui/mkeventd/views.py
M cmk/gui/node_visualization.py
M cmk/gui/painter/v0/helpers.py
M cmk/gui/plugins/metrics/graph_images.py
M cmk/gui/plugins/metrics/graph_templates.py
M cmk/gui/plugins/metrics/rrd_fetch.py
M cmk/gui/plugins/metrics/utils.py
M cmk/gui/plugins/openapi/endpoints/host_config.py
M cmk/gui/plugins/openapi/endpoints/host_internal.py
M cmk/gui/plugins/wato/utils/__init__.py
M cmk/gui/prediction.py
M cmk/gui/robotmk.py
M cmk/gui/type_defs.py
M cmk/gui/view.py
M cmk/gui/view_breadcrumbs.py
M cmk/gui/views/availability.py
M cmk/gui/views/command/commands.py
M cmk/gui/views/icon/page_ajax_popup_action_menu.py
M cmk/gui/views/inventory/__init__.py
M cmk/gui/views/visual_type.py
M cmk/gui/wato/pages/bulk_discovery.py
M cmk/gui/wato/pages/folders.py
M cmk/gui/wato/pages/host_rename.py
M cmk/gui/wato/pages/hosts.py
M cmk/gui/wato/pages/object_parameters.py
M cmk/gui/wato/pages/parentscan.py
M cmk/gui/wato/pages/pattern_editor.py
M cmk/gui/wato/pages/random_hosts.py
M cmk/gui/wato/pages/rulesets.py
M cmk/gui/wato/pages/services.py
M cmk/gui/watolib/agent_registration.py
M cmk/gui/watolib/automatic_host_removal.py
M cmk/gui/watolib/bakery.py
M cmk/gui/watolib/builtin_attributes.py
M cmk/gui/watolib/check_mk_automations.py
M cmk/gui/watolib/config_domain_name.py
M cmk/gui/watolib/config_domains.py
M cmk/gui/watolib/host_attributes.py
M cmk/gui/watolib/host_label_sync.py
M cmk/gui/watolib/host_rename.py
M cmk/gui/watolib/hosts_and_folders.py
M cmk/gui/watolib/network_scan.py
M cmk/gui/watolib/services.py
M cmk/snmplib/snmp_cache.py
M cmk/snmplib/snmp_table.py
M cmk/snmplib/type_defs.py
M cmk/update_config/plugins/actions/autochecks.py
M cmk/utils/agent_registration.py
M cmk/utils/auto_queue.py
A cmk/utils/hostaddress.py
M cmk/utils/labels.py
M cmk/utils/misc.py
M cmk/utils/notify_types.py
M cmk/utils/piggyback.py
M cmk/utils/prediction.py
M cmk/utils/rulesets/ruleset_matcher.py
M cmk/utils/store/host_storage.py
M cmk/utils/structured_data.py
M cmk/utils/translations.py
M cmk/utils/type_defs/__init__.py
R cmk/utils/type_defs/host.py
M omd/packages/maintenance/diskspace
M tests/composition/controller_site_interactions/test_proxy_register_import_workflow.py
M tests/composition/controller_site_interactions/test_register_workflow.py
M tests/composition/controller_site_interactions/test_rename_preserves_registration.py
M tests/composition/controller_site_interactions/test_status.py
M tests/integration/cmk/base/test_automations.py
M tests/integration/cmk/base/test_services_prediction.py
M tests/integration/cmk/lib/snmplib/helper_get_single_oid.py
M tests/integration/cmk/lib/snmplib/snmp_helpers.py
M tests/integration/cmk/lib/snmplib/test_snmp_modes.py
M tests/integration/cmk/lib/snmplib/test_snmp_table.py
M tests/testlib/__init__.py
M tests/testlib/agent.py
M tests/testlib/base.py
M tests/testlib/event_console.py
M tests/testlib/snmp.py
M tests/unit/checks/conftest.py
M tests/unit/checks/generictests/run.py
M tests/unit/checks/test_mem_win.py
M tests/unit/cmk/automations/test_results.py
M tests/unit/cmk/base/agent_based/checking/test_checking.py
M tests/unit/cmk/base/agent_based/checking/test_cluster_modes.py
M tests/unit/cmk/base/agent_based/discovery/test_discovery.py
M tests/unit/cmk/base/agent_based/test_base_inventory.py
M tests/unit/cmk/base/agent_based/test_data_provider_parsed_sections_broker.py
M tests/unit/cmk/base/agent_based/test_data_provider_parsed_sections_resolver.py
M tests/unit/cmk/base/agent_based/test_data_provider_sections_parser.py
M tests/unit/cmk/base/agent_based/test_error_handling.py
M tests/unit/cmk/base/agent_based/test_utils.py
M tests/unit/cmk/base/api/agent_based/test_utils_check_levels_predictive.py
M tests/unit/cmk/base/api/agent_based/value_store/test_vs_global_state.py
M tests/unit/cmk/base/api/agent_based/value_store/test_vs_utils.py
M tests/unit/cmk/base/autochecks/test_autochecks.py
M tests/unit/cmk/base/autochecks/test_autochecks_utils.py
M tests/unit/cmk/base/conftest.py
M tests/unit/cmk/base/plugins/agent_based/test_check_plugin_properties.py
M tests/unit/cmk/base/plugins/agent_based/test_diskstat.py
M tests/unit/cmk/base/plugins/agent_based/test_logwatch_ec.py
M tests/unit/cmk/base/plugins/agent_based/utils/test_cpu_load.py
M tests/unit/cmk/base/sources/test_data_sources.py
M tests/unit/cmk/base/sources/test_snmp_data_source.py
M tests/unit/cmk/base/test_auto_queue.py
M tests/unit/cmk/base/test_base_crash_reporting.py
M tests/unit/cmk/base/test_check_table.py
M tests/unit/cmk/base/test_config.py
M tests/unit/cmk/base/test_core_config.py
M tests/unit/cmk/base/test_core_nagios.py
M tests/unit/cmk/base/test_discovered_labels.py
M tests/unit/cmk/base/test_ip_lookup.py
M tests/unit/cmk/base/test_item_state.py
M tests/unit/cmk/base/test_mgmt_board.py
M tests/unit/cmk/base/test_modes_check_mk.py
M tests/unit/cmk/base/test_unit_automations.py
M tests/unit/cmk/bi/bi_test_data/sample_config.py
M tests/unit/cmk/checkers/test_classic_snmp.py
M tests/unit/cmk/checkers/test_factory.py
M tests/unit/cmk/checkers/test_fetchers.py
M tests/unit/cmk/checkers/test_host_sections.py
M tests/unit/cmk/checkers/test_parsers.py
M tests/unit/cmk/checkers/test_summarizers.py
M tests/unit/cmk/ec/test_ec_changestate.py
M tests/unit/cmk/ec/test_ec_delete.py
M tests/unit/cmk/ec/test_ec_event_server.py
M tests/unit/cmk/ec/test_ec_status.py
M tests/unit/cmk/ec/test_ec_update.py
M tests/unit/cmk/ec/test_host_config.py
M tests/unit/cmk/gui/conftest.py
M tests/unit/cmk/gui/mkeventd/test_wato.py
M tests/unit/cmk/gui/plugins/metrics/test_rrd_fetch.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_host_internal.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_service_discovery.py
M tests/unit/cmk/gui/test_gui_inventory.py
M tests/unit/cmk/gui/test_node_visualization.py
M tests/unit/cmk/gui/watolib/test_automatic_host_removal.py
M tests/unit/cmk/gui/watolib/test_host_label_sync.py
M tests/unit/cmk/gui/watolib/test_hosts_and_folders.py
M tests/unit/cmk/gui/watolib/test_services.py
M tests/unit/cmk/gui/watolib/test_watolib_search.py
M tests/unit/cmk/snmplib/test_snmp_scan.py
M tests/unit/cmk/snmplib/test_snmplib_snmp_table.py
M tests/unit/cmk/snmplib/test_snmplib_snmp_table_walk_cache.py
M tests/unit/cmk/utils/rulesets/test_ruleset_matcher.py
M tests/unit/cmk/utils/rulesets/test_tuple_rulesets.py
M tests/unit/cmk/utils/structured_data/test_structured_data.py
M tests/unit/cmk/utils/test_agent_registration.py
M tests/unit/cmk/utils/test_check_utils.py
M tests/unit/cmk/utils/test_labels.py
M tests/unit/cmk/utils/test_piggyback.py
M tests/unit/cmk/utils/test_prediction_commons.py
M tests/update/test_update.py
Log Message:
-----------
Move HostAddress (and HostName) to top level
general type + no external deps -> no nesting
CMK-13768
Change-Id: I6a438dd62c3b274d3864f7026261ac2a328bcd56
Compare: https://github.com/Checkmk/checkmk/compare/d9d67b00b9b8...3d01e90e6993
Branch: refs/heads/2.1.0
Home: https://github.com/Checkmk/checkmk
Commit: 8f4e07af3dffc5334b9e9670e02d5702cee3c05e
https://github.com/Checkmk/checkmk/commit/8f4e07af3dffc5334b9e9670e02d5702c…
Author: Sofia Colakovic <sofia.colakovic(a)checkmk.com>
Date: 2023-06-15 (Thu, 15 Jun 2023)
Changed paths:
A .werks/15760
M agents/plugins/mk_oracle
Log Message:
-----------
15760 FIX mk_oracle: '--no-spool' command-line option added
Previously, mk_oracle behaved differently depending on if it was
run from CLI or the Checkmk agent. The approach wasn't consistent
and led to errors if the script was called from CLI without arguments.
Now, mk_oracle will always behave as if run from the agent unless
additional arguments are provided.
Additionally, new command-line argument was introduced, '--no-spool'.
If used on host with systemd, the output of mk_oracle will be written
to stdout instead of the spool file. The option doesn't influence the behavior
of the script if xinetd is used.
SUP-14521
Change-Id: Ibfd1f1b4d874ebbe27c40869b808394be699f5b9
Branch: refs/heads/master
Home: https://github.com/Checkmk/checkmk
Commit: d9d67b00b9b86f93c92191b6d126e9276b7d77b2
https://github.com/Checkmk/checkmk/commit/d9d67b00b9b86f93c92191b6d126e9276…
Author: Moritz Kiemer <moritz.kiemer(a)checkmk.com>
Date: 2023-06-15 (Thu, 15 Jun 2023)
Changed paths:
M cmk/base/legacy_checks/dell_compellent_disks.py
M cmk/base/legacy_checks/docker_node_disk_usage.py
M cmk/base/legacy_checks/domino_mailqueues.py
M cmk/base/legacy_checks/elasticsearch_nodes.py
M cmk/base/legacy_checks/emc_datadomain_mtree.py
M cmk/base/legacy_checks/emcvnx_storage_pools.py
M cmk/base/legacy_checks/esx_vsphere_datastores.py
M cmk/base/legacy_checks/f5_bigip_vserver.py
M cmk/base/legacy_checks/fast_lta_volumes.py
M cmk/base/legacy_checks/filestats.py
M cmk/base/legacy_checks/fortigate_sslvpn.py
M cmk/base/legacy_checks/fsc_fans.py
M cmk/base/legacy_checks/graylog_sidecars.py
M cmk/base/legacy_checks/hp_hh3c_ext.py
M cmk/base/legacy_checks/hp_msa_psu.py
M cmk/base/legacy_checks/hp_psu.py
Log Message:
-----------
legacy_checks: inline get_parsed_item_data III
Change-Id: Id31f22e8c3ad3d44ebf8f27e73024073d39bb6c3
Branch: refs/heads/master
Home: https://github.com/Checkmk/checkmk
Commit: a4b4ca55cda04455aa86a53bcc6de8a2cc84462e
https://github.com/Checkmk/checkmk/commit/a4b4ca55cda04455aa86a53bcc6de8a2c…
Author: Wontek Hong <wontek.hong(a)checkmk.com>
Date: 2023-06-15 (Thu, 15 Jun 2023)
Changed paths:
A .werks/15880
M cmk/gui/plugins/openapi/endpoints/service_discovery.py
Log Message:
-----------
15880 FIX service_discovery: add further documentation details to execute service discovery endpoint
This werk adds further details to how the different service discovery modes behave.
Change-Id: I03fccf56a07664a6e1d8f8d5970aa238dfc03f42
Branch: refs/heads/2.2.0
Home: https://github.com/Checkmk/checkmk
Commit: 2f33d66f0af6b75798907f759ed16b91423682e8
https://github.com/Checkmk/checkmk/commit/2f33d66f0af6b75798907f759ed16b914…
Author: Benedikt Seidl <benedikt.seidl(a)checkmk.com>
Date: 2023-06-15 (Thu, 15 Jun 2023)
Changed paths:
A .werks/15287
M cmk/gui/werks.py
Log Message:
-----------
15287 FIX Fix KeyError in changelog view
It was possible, that the changelog view did not list all werks and showed an
error `KeyError ((<Compatibility.COMPATIBLE: 'yes'>, True))`. This could happen
for werks that where incompatible but where later on changed to compatible, and
were acknowledged while being incompatible.
Change-Id: I4900e490f6ff2ded2cc9c130b8109d9ea4b6b480