Module: check_mk
Branch: master
Commit: f741ab37a8788eb926e73918a7581d9598edefa1
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f741ab37a8788e…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Dec 17 13:58:31 2018 +0100
Moved remaining top level modules from cmk to cmk.utils
cmk/daemon.py -> cmk/utils/daemon.py
cmk/debug.py -> cmk/utils/debug.py
cmk/i18n.py -> cmk/utils/i18n.py
cmk/password_store.py -> cmk/utils/password_store.py
cmk/regex.py -> cmk/utils/regex.py
cmk/plugin_loader.py -> cmk/utils/plugin_loader.py
cmk/plugin_registry.py -> cmk/utils/plugin_registry.py
cmk/defines.py -> cmk/utils/defines.py
cmk/exceptions.py -> cmk/utils/exceptions.py
cmk/log.py -> cmk/utils/log.py
cmk/render.py -> cmk/utils/render.py
cmk/store.py -> cmk/utils/store.py
cmk/paths.py -> cmk/utils/paths.py
Change-Id: I4886a4d223b3cf58780d0797fa60a9e2af2060db
---
.werks/6057 | 26 ++--
active_checks/check_bi_aggr | 4 +-
active_checks/check_cpu_peaks | 2 +-
active_checks/check_mail | 4 +-
active_checks/check_mail_loop | 4 +-
active_checks/check_mailboxes | 16 +--
active_checks/check_sql | 4 +-
agents/special/agent_3par | 4 +-
agents/special/agent_aws | 6 +-
agents/special/agent_azure | 4 +-
agents/special/agent_bi | 4 +-
agents/special/agent_kubernetes | 4 +-
bin/check_mk | 14 +--
bin/mkbackup | 8 +-
bin/mkbench | 2 +-
checks/logwatch | 13 +-
checks/ps.include | 2 +-
cmk/__init__.py | 8 +-
cmk/ec/actions.py | 7 +-
cmk/ec/defaults.py | 16 +--
cmk/ec/export.py | 16 +--
cmk/ec/history.py | 8 +-
cmk/ec/main.py | 43 +++----
cmk/ec/settings.py | 6 +-
cmk/ec/snmp.py | 4 +-
cmk/gui/availability.py | 12 +-
cmk/gui/background_job.py | 16 +--
cmk/gui/backup.py | 4 +-
cmk/gui/bi.py | 6 +-
cmk/gui/config.py | 20 +--
cmk/gui/cron.py | 6 +-
cmk/gui/exceptions.py | 2 +-
cmk/gui/gui_background_job.py | 19 +--
cmk/gui/htmllib.py | 26 ++--
cmk/gui/i18n.py | 10 +-
cmk/gui/inventory.py | 24 ++--
cmk/gui/key_mgmt.py | 6 +-
cmk/gui/log.py | 12 +-
cmk/gui/login.py | 6 +-
cmk/gui/metrics.py | 12 +-
cmk/gui/mkeventd.py | 18 +--
cmk/gui/modules.py | 4 +-
cmk/gui/multitar.py | 4 +-
cmk/gui/notifications.py | 6 +-
cmk/gui/notify.py | 2 +-
cmk/gui/pagetypes.py | 2 +-
cmk/gui/permissions.py | 6 +-
cmk/gui/plugins/config/__init__.py | 2 +-
cmk/gui/plugins/cron/__init__.py | 2 +-
cmk/gui/plugins/dashboard/__init__.py | 2 +-
cmk/gui/plugins/dashboard/utils.py | 4 +-
cmk/gui/plugins/main_modules/__init__.py | 2 +-
cmk/gui/plugins/metrics/__init__.py | 2 +-
cmk/gui/plugins/metrics/check_mk.py | 52 ++++----
cmk/gui/plugins/metrics/utils.py | 6 +-
cmk/gui/plugins/sidebar/__init__.py | 2 +-
cmk/gui/plugins/sidebar/bookmarks.py | 2 +-
cmk/gui/plugins/sidebar/custom_links.py | 4 +-
cmk/gui/plugins/sidebar/quicksearch.py | 4 +-
cmk/gui/plugins/sidebar/utils.py | 4 +-
cmk/gui/plugins/sidebar/wiki.py | 4 +-
cmk/gui/plugins/userdb/__init__.py | 2 +-
cmk/gui/plugins/userdb/hook_auth.py | 6 +-
cmk/gui/plugins/userdb/htpasswd.py | 8 +-
cmk/gui/plugins/userdb/ldap_connector.py | 14 +--
cmk/gui/plugins/userdb/utils.py | 6 +-
cmk/gui/plugins/views/__init__.py | 2 +-
cmk/gui/plugins/views/availability.py | 4 +-
cmk/gui/plugins/views/bi.py | 2 +-
cmk/gui/plugins/views/icons/__init__.py | 6 +-
cmk/gui/plugins/views/icons/builtin.py | 8 +-
cmk/gui/plugins/views/inventory.py | 10 +-
cmk/gui/plugins/views/mkeventd.py | 2 +-
cmk/gui/plugins/views/painters.py | 36 +++---
cmk/gui/plugins/views/perfometers/__init__.py | 2 +-
cmk/gui/plugins/views/perfometers/check_mk.py | 12 +-
cmk/gui/plugins/views/utils.py | 14 +--
cmk/gui/plugins/visuals/__init__.py | 2 +-
cmk/gui/plugins/visuals/inventory.py | 2 +-
cmk/gui/plugins/wato/__init__.py | 2 +-
cmk/gui/plugins/wato/ac_tests.py | 11 +-
cmk/gui/plugins/wato/backup_domains.py | 10 +-
cmk/gui/plugins/wato/bi.py | 2 +-
cmk/gui/plugins/wato/check_mk_configuration.py | 13 +-
cmk/gui/plugins/wato/check_parameters/__init__.py | 2 +-
cmk/gui/plugins/wato/check_parameters/unsorted.py | 2 +-
cmk/gui/plugins/wato/globals_notification.py | 4 +-
cmk/gui/plugins/wato/inventory.py | 6 +-
cmk/gui/plugins/wato/omd_configuration.py | 27 ++--
cmk/gui/plugins/wato/utils/__init__.py | 4 +-
cmk/gui/plugins/wato/utils/main_menu.py | 4 +-
cmk/gui/plugins/watolib/__init__.py | 2 +-
cmk/gui/plugins/watolib/utils.py | 10 +-
cmk/gui/plugins/webapi/__init__.py | 2 +-
cmk/gui/plugins/webapi/utils.py | 4 +-
cmk/gui/prediction.py | 2 +-
cmk/gui/sidebar.py | 2 +-
cmk/gui/userdb.py | 34 ++---
cmk/gui/utils.py | 6 +-
cmk/gui/valuespec.py | 25 ++--
cmk/gui/views.py | 2 +-
cmk/gui/visuals.py | 2 +-
cmk/gui/wato/__init__.py | 10 +-
cmk/gui/wato/mkeventd.py | 17 +--
cmk/gui/wato/pages/activate_changes.py | 2 +-
cmk/gui/wato/pages/analyze_configuration.py | 6 +-
cmk/gui/wato/pages/audit_log.py | 2 +-
cmk/gui/wato/pages/backup.py | 4 +-
cmk/gui/wato/pages/bulk_discovery.py | 2 +-
cmk/gui/wato/pages/bulk_import.py | 4 +-
cmk/gui/wato/pages/custom_attributes.py | 2 +-
cmk/gui/wato/pages/download_agents.py | 16 +--
cmk/gui/wato/pages/groups.py | 4 +-
cmk/gui/wato/pages/host_rename.py | 4 +-
cmk/gui/wato/pages/icons.py | 14 +--
cmk/gui/wato/pages/notifications.py | 4 +-
cmk/gui/wato/pages/object_parameters.py | 3 +-
cmk/gui/wato/pages/read_only.py | 2 +-
cmk/gui/wato/pages/roles.py | 2 +-
cmk/gui/wato/pages/rulesets.py | 2 +-
cmk/gui/wato/pages/services.py | 6 +-
cmk/gui/wato/pages/timeperiods.py | 4 +-
cmk/gui/wato/pages/users.py | 2 +-
cmk/gui/watolib.py | 140 +++++++++++----------
cmk/gui/werks.py | 9 +-
cmk/notification_plugins/utils.py | 4 +-
cmk/{ => utils}/daemon.py | 10 +-
cmk/{ => utils}/debug.py | 0
cmk/{ => utils}/defines.py | 2 +-
cmk/{ => utils}/exceptions.py | 2 +-
cmk/{ => utils}/i18n.py | 0
cmk/{ => utils}/log.py | 0
cmk/utils/man_pages.py | 18 +--
cmk/{ => utils}/password_store.py | 10 +-
cmk/{ => utils}/paths.py | 0
cmk/{ => utils}/plugin_loader.py | 0
cmk/{ => utils}/plugin_registry.py | 0
cmk/utils/prediction.py | 16 +--
cmk/utils/profile.py | 8 +-
cmk/{ => utils}/regex.py | 4 +-
cmk/{ => utils}/render.py | 2 +-
cmk/{ => utils}/store.py | 8 +-
cmk/utils/structured_data.py | 4 +-
cmk/utils/translations.py | 2 +-
cmk/utils/werks.py | 10 +-
cmk_base/agent_simulator.py | 4 +-
cmk_base/autochecks.py | 16 +--
cmk_base/automations/__init__.py | 12 +-
cmk_base/automations/check_mk.py | 120 +++++++++---------
cmk_base/backup.py | 20 +--
cmk_base/caching.py | 2 +-
cmk_base/check_api.py | 16 +--
cmk_base/check_table.py | 4 +-
cmk_base/checking.py | 25 ++--
cmk_base/classic_snmp.py | 2 +-
cmk_base/compress_history.py | 9 +-
cmk_base/config.py | 52 ++++----
cmk_base/console.py | 4 +-
cmk_base/core.py | 34 ++---
cmk_base/core_config.py | 14 +--
cmk_base/core_nagios.py | 42 +++----
cmk_base/crash_reporting.py | 12 +-
cmk_base/data_sources/__init__.py | 8 +-
cmk_base/data_sources/abstract.py | 20 +--
cmk_base/data_sources/host_sections.py | 4 +-
cmk_base/data_sources/ipmi.py | 4 +-
cmk_base/data_sources/piggyback.py | 2 +-
cmk_base/data_sources/programs.py | 8 +-
cmk_base/data_sources/snmp.py | 2 +-
cmk_base/data_sources/tcp.py | 8 +-
cmk_base/decorator.py | 7 +-
cmk_base/discovery.py | 43 +++----
cmk_base/donate.py | 6 +-
cmk_base/dump_host.py | 4 +-
cmk_base/events.py | 28 +++--
cmk_base/exceptions.py | 2 +-
cmk_base/inventory.py | 31 ++---
cmk_base/inventory_plugins.py | 14 ++-
cmk_base/ip_lookup.py | 26 ++--
cmk_base/item_state.py | 26 ++--
cmk_base/localize.py | 26 ++--
cmk_base/modes/__init__.py | 4 +-
cmk_base/modes/check_mk.py | 111 ++++++++--------
cmk_base/nagios_utils.py | 4 +-
cmk_base/notify.py | 41 +++---
cmk_base/packaging.py | 91 +++++++-------
cmk_base/parent_scan.py | 11 +-
cmk_base/piggyback.py | 18 +--
cmk_base/prediction.py | 10 +-
cmk_base/snmp.py | 34 ++---
cmk_base/snmp_scan.py | 2 +-
cmk_base/utils.py | 2 +-
doc/treasures/wato_hook_cleanup_folders.py | 10 +-
doc/treasures/wato_remove_nonsite_folders.py | 9 +-
doc/treasures/wiki_painter.py | 7 +-
inventory/export_software_csv | 7 +-
omd/packages/maintenance/diskspace | 2 +-
omd/packages/omd/omdlib/main.py | 2 +-
tests/conftest.py | 20 +--
tests/integration/cmk/ec/test_mkeventd_status.py | 6 +-
tests/integration/cmk/test_omd_version.py | 2 +-
tests/integration/cmk/{ => utils}/test_paths.py | 16 +--
.../integration/cmk/{ => utils}/test_site_werks.py | 0
tests/integration/cmk_base/test_data_sources.py | 6 +-
tests/integration/cmk_base/test_mgmt_board.py | 6 +-
.../cmk_base/test_services_prediction.py | 2 +-
tests/static/Makefile | 1 +
tests/testlib/__init__.py | 4 +-
tests/unit/cmk/ec/test_perfcounters.py | 4 +-
tests/unit/cmk/ec/test_rule_matching.py | 4 +-
.../cmk/gui/plugins/views/test_availability.py | 12 +-
tests/unit/cmk/gui/test_background_job.py | 6 +-
tests/unit/cmk/gui/test_sidebar.py | 2 +-
tests/unit/cmk/notifications/test_utils.py | 2 +-
tests/unit/cmk/test_debug.py | 20 ---
tests/unit/cmk/test_log.py | 59 ---------
.../structured_data/test_structured_data.py | 4 +-
.../structured_data/tree_test_data/tree_inv | 0
.../tree_test_data/tree_new_addresses | 0
.../tree_new_addresses_arrays_memory | 0
.../structured_data/tree_test_data/tree_new_arrays | 0
.../structured_data/tree_test_data/tree_new_heute | 0
.../tree_test_data/tree_new_interfaces | 0
.../tree_new_large_ora_tablespaces_fixed_len | 0
.../tree_new_large_ora_tablespaces_variable_len | 0
.../structured_data/tree_test_data/tree_new_memory | 0
.../tree_test_data/tree_old_addresses | 0
.../tree_old_addresses_arrays_memory | 0
.../structured_data/tree_test_data/tree_old_arrays | 0
.../structured_data/tree_test_data/tree_old_heute | 0
.../tree_test_data/tree_old_interfaces | 0
.../tree_test_data/tree_old_large_ora_tablespaces | 0
.../structured_data/tree_test_data/tree_old_memory | 0
.../structured_data/tree_test_data/tree_status | 0
tests/unit/cmk/{ => utils}/test_cpu_tracking.py | 0
tests/unit/cmk/{ => utils}/test_crash_reporting.py | 0
tests/unit/cmk/{ => utils}/test_daemon.py | 6 +-
tests/unit/cmk/utils/test_debug.py | 20 +++
tests/unit/cmk/utils/test_log.py | 59 +++++++++
tests/unit/cmk/{ => utils}/test_man_pages.py | 4 +-
tests/unit/cmk/{ => utils}/test_plugin_registry.py | 5 +-
.../cmk/{ => utils}/test_prediction_commons.py | 0
tests/unit/cmk/{ => utils}/test_render.py | 4 +-
tests/unit/cmk/{ => utils}/test_schedule.py | 0
tests/unit/cmk/{ => utils}/test_store.py | 12 +-
tests/unit/cmk/{ => utils}/test_werks.py | 0
tests/unit/cmk_base/test_core_config.py | 2 +-
tests/unit/cmk_base/test_rulesets.py | 2 +-
web/app/index.wsgi | 6 +-
249 files changed, 1295 insertions(+), 1244 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=f741ab37a8…