From 63fc371f00e87c365e427c2851f812829ce6bd16 Mon Sep 17 00:00:00 2001 From: gaoruoshu Date: Thu, 7 Nov 2024 15:21:52 +0800 Subject: [PATCH] delete docs folder and add .gitignore --- .gitignore | 27 ++ ...77\347\224\250\346\211\213\345\206\214.md" | 0 {sysSentry-1.0.2/License => License}/LICENSE | 0 doc/UserGuide => README.md | 0 RELEASE-NOTES.md | 10 + {sysSentry-1.0.2/build => build}/build.sh | 0 .../config => config}/collector.conf | 0 .../config => config}/inspect.conf | 0 {sysSentry-1.0.2/config => config}/logrotate | 0 .../config => config}/plugins/ai_block_io.ini | 0 .../plugins/avg_block_io.ini | 0 .../config => config}/plugins/cpu_sentry.ini | 0 .../config => config}/tasks/ai_block_io.mod | 0 .../config => config}/tasks/avg_block_io.mod | 0 .../config => config}/tasks/cpu_sentry.mod | 0 .../tasks/hbm_online_repair.mod | 0 .../config => config}/tasks/rasdaemon.mod | 0 .../config => config}/xalarm.conf | 0 doc/LICENSE | 427 ------------------ .../selftest => selftest}/libs/expect.sh | 0 .../selftest => selftest}/libs/lib.sh | 0 .../selftest => selftest}/libs/log.sh | 0 .../selftest => selftest}/libs/shopt.sh | 0 .../selftest => selftest}/libs/wait.sh | 0 .../selftest => selftest}/mod/test_config.mod | 0 .../selftest => selftest}/mod/test_task.c | 0 .../selftest => selftest}/test.sh | 0 .../selftest => selftest}/test/common.sh | 0 .../selftest => selftest}/test/nvme/ReadMe.md | 0 .../test/nvme/nvme_inject_install.sh | 0 .../test/nvme/nvme_inject_uninstall.sh | 0 .../test/nvme/patch/nvme_inject.patch | 0 .../test/nvme/patch/nvme_inject_make.sh | 0 .../test/nvme/script/auto_test.sh | 0 .../test/nvme/script/ko_deadline.sh | 0 .../test/nvme/script/ko_full_disk.sh | 0 .../test/nvme/script/ko_gettag.sh | 0 .../test/nvme/script/ko_hctx.sh | 0 .../test/nvme/script/ko_inject_fault.sh | 0 .../test/nvme/script/ko_plug.sh | 0 .../test/nvme/script/ko_requeue.sh | 0 .../test/nvme/script/ko_single_disk.sh | 0 .../test/nvme/script/normal.fio | 0 .../test/nvme/script/nvme_await_us.sh | 0 .../test/nvme/script/nvme_block.sh | 0 .../test/nvme/script/nvme_partial_slow_us.sh | 0 .../test/nvme/script/press.sh | 0 .../test_ai_threshold_slow_io_detection.py | 0 .../test/test_cpu_sentry.py | 0 .../test/test_sentryctl_end_exception.sh | 0 .../test/test_sentryctl_exception.sh | 0 .../test_sentryctl_heartbeat_exception.sh | 0 .../test/test_sentryctl_interval_exception.sh | 0 ...sentryctl_modname_long_length_exception.sh | 0 .../test/test_sentryctl_modname_valid.sh | 0 .../test/test_sentryctl_normal.sh | 0 .../test/test_sentryctl_reload.sh | 0 .../test/test_sentryctl_start_exception.sh | 0 .../test/test_sentryctl_type_exception.sh | 0 .../test/test_sentryctl_type_oneshot.sh | 0 .../test/test_sentryctl_type_period.sh | 0 .../test/test_xalarm_read_config_exception.sh | 0 ...alarm_register_and_unregister_exception.sh | 0 .../test/test_xalarm_restart_exception.sh | 0 .../test/test_xalarm_send_message.sh | 0 .../test/test_xalarm_upgrade_exception.sh | 0 .../xalarm/CMakeLists.txt | 0 .../selftest => selftest}/xalarm/reg_demo.c | 0 .../selftest => selftest}/xalarm/send_demo.c | 0 .../selftest => selftest}/xalarm/unreg_demo.c | 0 .../xalarm/upgrade_demo.c | 0 .../sentryCollector.service | 0 .../service => service}/sysSentry.service | 0 .../service => service}/xalarmd.service | 0 .../src => src}/c/catcli/README.md | 0 .../c/catcli/catlib/CMakeLists.txt | 0 .../src => src}/c/catcli/catlib/cat_structs.h | 0 .../src => src}/c/catcli/catlib/catcli.c | 0 .../src => src}/c/catcli/catlib/cli_common.c | 0 .../src => src}/c/catcli/catlib/cli_common.h | 0 .../c/catcli/catlib/cli_executor.c | 0 .../c/catcli/catlib/cli_executor.h | 0 .../c/catcli/catlib/cli_param_checker.c | 0 .../c/catcli/catlib/cli_param_checker.h | 0 .../c/catcli/catlib/plugin/CMakeLists.txt | 0 .../catlib/plugin/cpu_patrol/CMakeLists.txt | 0 .../catlib/plugin/cpu_patrol/cpu_patrol.c | 0 .../catlib/plugin/cpu_patrol/cpu_patrol.h | 0 .../plugin/cpu_patrol/cpu_patrol_result.c | 0 .../plugin/cpu_patrol/cpu_patrol_result.h | 0 .../catlib/plugin/mem_patrol/CMakeLists.txt | 0 .../src => src}/c/ebpf_collector/Makefile | 0 .../c/ebpf_collector/bpf_helpers.h | 0 .../src => src}/c/ebpf_collector/bpf_load.c | 0 .../c/ebpf_collector/ebpf_collector.bpf.c | 0 .../c/ebpf_collector/ebpf_collector.c | 0 .../c/ebpf_collector/ebpf_collector.h | 0 .../src => src}/c/hbm_online_repair/Makefile | 0 .../c/hbm_online_repair/hbm_online_repair.c | 0 .../c/hbm_online_repair/hbm_online_repair.env | 0 .../src => src}/c/hbm_online_repair/logger.h | 0 .../non-standard-hbm-repair.c | 0 .../non-standard-hbm-repair.h | 0 .../c/hbm_online_repair/ras-events.c | 0 .../c/hbm_online_repair/ras-events.h | 0 .../ras-non-standard-handler.c | 0 .../ras-non-standard-handler.h | 0 .../src => src}/libso/CMakeLists.txt | 0 .../src => src}/libso/xalarm/CMakeLists.txt | 0 .../libso/xalarm/register_xalarm.c | 0 .../libso/xalarm/register_xalarm.h | 0 {sysSentry-1.0.2/src => src}/python/sentry | 0 .../python/sentryCollector/__init__.py | 0 .../python/sentryCollector/__main__.py | 0 .../python/sentryCollector/collect_config.py | 0 .../python/sentryCollector/collect_io.py | 0 .../python/sentryCollector/collect_plugin.py | 0 .../python/sentryCollector/collect_server.py | 0 .../python/sentryCollector/collectd.py | 0 .../python/sentryPlugins/__init__.py | 0 .../sentryPlugins/ai_block_io/README.md | 0 .../sentryPlugins/ai_block_io/__init__.py | 0 .../sentryPlugins/ai_block_io/ai_block_io.py | 0 .../sentryPlugins/ai_block_io/alarm_report.py | 0 .../ai_block_io/config_parser.py | 0 .../sentryPlugins/ai_block_io/data_access.py | 0 .../sentryPlugins/ai_block_io/detector.py | 0 .../sentryPlugins/ai_block_io/io_data.py | 0 .../ai_block_io/sliding_window.py | 0 .../sentryPlugins/ai_block_io/threshold.py | 0 .../python/sentryPlugins/ai_block_io/utils.py | 0 .../sentryPlugins/avg_block_io/__init__.py | 0 .../avg_block_io/avg_block_io.py | 0 .../sentryPlugins/avg_block_io/config.py | 0 .../sentryPlugins/avg_block_io/module_conn.py | 0 .../avg_block_io/stage_window.py | 0 .../sentryPlugins/avg_block_io/utils.py | 0 {sysSentry-1.0.2/src => src}/python/setup.py | 0 .../src => src}/python/syssentry/__init__.py | 0 .../src => src}/python/syssentry/__main__.py | 0 .../src => src}/python/syssentry/alarm.py | 0 .../src => src}/python/syssentry/bmc_alarm.py | 0 .../src => src}/python/syssentry/callbacks.py | 0 .../src => src}/python/syssentry/cpu_alarm.py | 0 .../python/syssentry/cpu_sentry.py | 0 .../python/syssentry/cron_process.py | 0 .../python/syssentry/global_values.py | 0 .../src => src}/python/syssentry/heartbeat.py | 0 .../src => src}/python/syssentry/load_mods.py | 0 .../python/syssentry/mod_status.py | 0 .../src => src}/python/syssentry/result.py | 0 .../python/syssentry/sentry_config.py | 0 .../src => src}/python/syssentry/sentryctl | 0 .../src => src}/python/syssentry/syssentry.py | 0 .../src => src}/python/syssentry/task_map.py | 0 .../src => src}/python/syssentry/utils.py | 0 .../src => src}/python/xalarm/__init__.py | 0 .../python/xalarm/register_xalarm.py | 0 .../python/xalarm/sentry_notify.py | 0 .../src => src}/python/xalarm/xalarm_api.py | 0 .../python/xalarm/xalarm_config.py | 0 .../python/xalarm/xalarm_daemon.py | 0 .../python/xalarm/xalarm_server.py | 0 .../python/xalarm/xalarm_transfer.py | 0 sysSentry-1.0.2/README | 33 -- sysSentry-1.0.2/RELEASE-NOTES.md | 3 - .../src/c/hbm_online_repair/.gitignore | 6 - sysSentry-1.0.2/src/python/.gitignore | 1 - 168 files changed, 37 insertions(+), 470 deletions(-) create mode 100644 .gitignore rename "sysSentry-1.0.2/Docs/CATCLI\344\275\277\347\224\250\346\211\213\345\206\214.md" => "Docs/CATCLI\344\275\277\347\224\250\346\211\213\345\206\214.md" (100%) rename {sysSentry-1.0.2/License => License}/LICENSE (100%) rename doc/UserGuide => README.md (100%) create mode 100644 RELEASE-NOTES.md rename {sysSentry-1.0.2/build => build}/build.sh (100%) rename {sysSentry-1.0.2/config => config}/collector.conf (100%) rename {sysSentry-1.0.2/config => config}/inspect.conf (100%) rename {sysSentry-1.0.2/config => config}/logrotate (100%) rename {sysSentry-1.0.2/config => config}/plugins/ai_block_io.ini (100%) rename {sysSentry-1.0.2/config => config}/plugins/avg_block_io.ini (100%) rename {sysSentry-1.0.2/config => config}/plugins/cpu_sentry.ini (100%) rename {sysSentry-1.0.2/config => config}/tasks/ai_block_io.mod (100%) rename {sysSentry-1.0.2/config => config}/tasks/avg_block_io.mod (100%) rename {sysSentry-1.0.2/config => config}/tasks/cpu_sentry.mod (100%) rename {sysSentry-1.0.2/config => config}/tasks/hbm_online_repair.mod (100%) rename {sysSentry-1.0.2/config => config}/tasks/rasdaemon.mod (100%) rename {sysSentry-1.0.2/config => config}/xalarm.conf (100%) delete mode 100644 doc/LICENSE rename {sysSentry-1.0.2/selftest => selftest}/libs/expect.sh (100%) rename {sysSentry-1.0.2/selftest => selftest}/libs/lib.sh (100%) rename {sysSentry-1.0.2/selftest => selftest}/libs/log.sh (100%) rename {sysSentry-1.0.2/selftest => selftest}/libs/shopt.sh (100%) rename {sysSentry-1.0.2/selftest => selftest}/libs/wait.sh (100%) rename {sysSentry-1.0.2/selftest => selftest}/mod/test_config.mod (100%) rename {sysSentry-1.0.2/selftest => selftest}/mod/test_task.c (100%) rename {sysSentry-1.0.2/selftest => selftest}/test.sh (100%) rename {sysSentry-1.0.2/selftest => selftest}/test/common.sh (100%) rename {sysSentry-1.0.2/selftest => selftest}/test/nvme/ReadMe.md (100%) rename {sysSentry-1.0.2/selftest => selftest}/test/nvme/nvme_inject_install.sh (100%) rename {sysSentry-1.0.2/selftest => selftest}/test/nvme/nvme_inject_uninstall.sh (100%) rename {sysSentry-1.0.2/selftest => selftest}/test/nvme/patch/nvme_inject.patch (100%) rename {sysSentry-1.0.2/selftest => selftest}/test/nvme/patch/nvme_inject_make.sh (100%) rename {sysSentry-1.0.2/selftest => selftest}/test/nvme/script/auto_test.sh (100%) rename {sysSentry-1.0.2/selftest => selftest}/test/nvme/script/ko_deadline.sh (100%) rename {sysSentry-1.0.2/selftest => selftest}/test/nvme/script/ko_full_disk.sh (100%) rename {sysSentry-1.0.2/selftest => selftest}/test/nvme/script/ko_gettag.sh (100%) rename {sysSentry-1.0.2/selftest => selftest}/test/nvme/script/ko_hctx.sh (100%) rename {sysSentry-1.0.2/selftest => selftest}/test/nvme/script/ko_inject_fault.sh (100%) rename {sysSentry-1.0.2/selftest => selftest}/test/nvme/script/ko_plug.sh (100%) rename {sysSentry-1.0.2/selftest => selftest}/test/nvme/script/ko_requeue.sh (100%) rename {sysSentry-1.0.2/selftest => selftest}/test/nvme/script/ko_single_disk.sh (100%) rename {sysSentry-1.0.2/selftest => selftest}/test/nvme/script/normal.fio (100%) rename {sysSentry-1.0.2/selftest => selftest}/test/nvme/script/nvme_await_us.sh (100%) rename {sysSentry-1.0.2/selftest => selftest}/test/nvme/script/nvme_block.sh (100%) rename {sysSentry-1.0.2/selftest => selftest}/test/nvme/script/nvme_partial_slow_us.sh (100%) rename {sysSentry-1.0.2/selftest => selftest}/test/nvme/script/press.sh (100%) rename {sysSentry-1.0.2/selftest => selftest}/test/test_ai_threshold_slow_io_detection.py (100%) rename {sysSentry-1.0.2/selftest => selftest}/test/test_cpu_sentry.py (100%) rename {sysSentry-1.0.2/selftest => selftest}/test/test_sentryctl_end_exception.sh (100%) rename {sysSentry-1.0.2/selftest => selftest}/test/test_sentryctl_exception.sh (100%) rename {sysSentry-1.0.2/selftest => selftest}/test/test_sentryctl_heartbeat_exception.sh (100%) rename {sysSentry-1.0.2/selftest => selftest}/test/test_sentryctl_interval_exception.sh (100%) rename {sysSentry-1.0.2/selftest => selftest}/test/test_sentryctl_modname_long_length_exception.sh (100%) rename {sysSentry-1.0.2/selftest => selftest}/test/test_sentryctl_modname_valid.sh (100%) rename {sysSentry-1.0.2/selftest => selftest}/test/test_sentryctl_normal.sh (100%) rename {sysSentry-1.0.2/selftest => selftest}/test/test_sentryctl_reload.sh (100%) rename {sysSentry-1.0.2/selftest => selftest}/test/test_sentryctl_start_exception.sh (100%) rename {sysSentry-1.0.2/selftest => selftest}/test/test_sentryctl_type_exception.sh (100%) rename {sysSentry-1.0.2/selftest => selftest}/test/test_sentryctl_type_oneshot.sh (100%) rename {sysSentry-1.0.2/selftest => selftest}/test/test_sentryctl_type_period.sh (100%) rename {sysSentry-1.0.2/selftest => selftest}/test/test_xalarm_read_config_exception.sh (100%) rename {sysSentry-1.0.2/selftest => selftest}/test/test_xalarm_register_and_unregister_exception.sh (100%) rename {sysSentry-1.0.2/selftest => selftest}/test/test_xalarm_restart_exception.sh (100%) rename {sysSentry-1.0.2/selftest => selftest}/test/test_xalarm_send_message.sh (100%) rename {sysSentry-1.0.2/selftest => selftest}/test/test_xalarm_upgrade_exception.sh (100%) rename {sysSentry-1.0.2/selftest => selftest}/xalarm/CMakeLists.txt (100%) rename {sysSentry-1.0.2/selftest => selftest}/xalarm/reg_demo.c (100%) rename {sysSentry-1.0.2/selftest => selftest}/xalarm/send_demo.c (100%) rename {sysSentry-1.0.2/selftest => selftest}/xalarm/unreg_demo.c (100%) rename {sysSentry-1.0.2/selftest => selftest}/xalarm/upgrade_demo.c (100%) rename {sysSentry-1.0.2/service => service}/sentryCollector.service (100%) rename {sysSentry-1.0.2/service => service}/sysSentry.service (100%) rename {sysSentry-1.0.2/service => service}/xalarmd.service (100%) rename {sysSentry-1.0.2/src => src}/c/catcli/README.md (100%) rename {sysSentry-1.0.2/src => src}/c/catcli/catlib/CMakeLists.txt (100%) rename {sysSentry-1.0.2/src => src}/c/catcli/catlib/cat_structs.h (100%) rename {sysSentry-1.0.2/src => src}/c/catcli/catlib/catcli.c (100%) rename {sysSentry-1.0.2/src => src}/c/catcli/catlib/cli_common.c (100%) rename {sysSentry-1.0.2/src => src}/c/catcli/catlib/cli_common.h (100%) rename {sysSentry-1.0.2/src => src}/c/catcli/catlib/cli_executor.c (100%) rename {sysSentry-1.0.2/src => src}/c/catcli/catlib/cli_executor.h (100%) rename {sysSentry-1.0.2/src => src}/c/catcli/catlib/cli_param_checker.c (100%) rename {sysSentry-1.0.2/src => src}/c/catcli/catlib/cli_param_checker.h (100%) rename {sysSentry-1.0.2/src => src}/c/catcli/catlib/plugin/CMakeLists.txt (100%) rename {sysSentry-1.0.2/src => src}/c/catcli/catlib/plugin/cpu_patrol/CMakeLists.txt (100%) rename {sysSentry-1.0.2/src => src}/c/catcli/catlib/plugin/cpu_patrol/cpu_patrol.c (100%) rename {sysSentry-1.0.2/src => src}/c/catcli/catlib/plugin/cpu_patrol/cpu_patrol.h (100%) rename {sysSentry-1.0.2/src => src}/c/catcli/catlib/plugin/cpu_patrol/cpu_patrol_result.c (100%) rename {sysSentry-1.0.2/src => src}/c/catcli/catlib/plugin/cpu_patrol/cpu_patrol_result.h (100%) rename {sysSentry-1.0.2/src => src}/c/catcli/catlib/plugin/mem_patrol/CMakeLists.txt (100%) rename {sysSentry-1.0.2/src => src}/c/ebpf_collector/Makefile (100%) rename {sysSentry-1.0.2/src => src}/c/ebpf_collector/bpf_helpers.h (100%) rename {sysSentry-1.0.2/src => src}/c/ebpf_collector/bpf_load.c (100%) rename {sysSentry-1.0.2/src => src}/c/ebpf_collector/ebpf_collector.bpf.c (100%) rename {sysSentry-1.0.2/src => src}/c/ebpf_collector/ebpf_collector.c (100%) rename {sysSentry-1.0.2/src => src}/c/ebpf_collector/ebpf_collector.h (100%) rename {sysSentry-1.0.2/src => src}/c/hbm_online_repair/Makefile (100%) rename {sysSentry-1.0.2/src => src}/c/hbm_online_repair/hbm_online_repair.c (100%) rename {sysSentry-1.0.2/src => src}/c/hbm_online_repair/hbm_online_repair.env (100%) rename {sysSentry-1.0.2/src => src}/c/hbm_online_repair/logger.h (100%) rename {sysSentry-1.0.2/src => src}/c/hbm_online_repair/non-standard-hbm-repair.c (100%) rename {sysSentry-1.0.2/src => src}/c/hbm_online_repair/non-standard-hbm-repair.h (100%) rename {sysSentry-1.0.2/src => src}/c/hbm_online_repair/ras-events.c (100%) rename {sysSentry-1.0.2/src => src}/c/hbm_online_repair/ras-events.h (100%) rename {sysSentry-1.0.2/src => src}/c/hbm_online_repair/ras-non-standard-handler.c (100%) rename {sysSentry-1.0.2/src => src}/c/hbm_online_repair/ras-non-standard-handler.h (100%) rename {sysSentry-1.0.2/src => src}/libso/CMakeLists.txt (100%) rename {sysSentry-1.0.2/src => src}/libso/xalarm/CMakeLists.txt (100%) rename {sysSentry-1.0.2/src => src}/libso/xalarm/register_xalarm.c (100%) rename {sysSentry-1.0.2/src => src}/libso/xalarm/register_xalarm.h (100%) rename {sysSentry-1.0.2/src => src}/python/sentry (100%) rename {sysSentry-1.0.2/src => src}/python/sentryCollector/__init__.py (100%) rename {sysSentry-1.0.2/src => src}/python/sentryCollector/__main__.py (100%) rename {sysSentry-1.0.2/src => src}/python/sentryCollector/collect_config.py (100%) rename {sysSentry-1.0.2/src => src}/python/sentryCollector/collect_io.py (100%) rename {sysSentry-1.0.2/src => src}/python/sentryCollector/collect_plugin.py (100%) rename {sysSentry-1.0.2/src => src}/python/sentryCollector/collect_server.py (100%) rename {sysSentry-1.0.2/src => src}/python/sentryCollector/collectd.py (100%) rename {sysSentry-1.0.2/src => src}/python/sentryPlugins/__init__.py (100%) rename {sysSentry-1.0.2/src => src}/python/sentryPlugins/ai_block_io/README.md (100%) rename {sysSentry-1.0.2/src => src}/python/sentryPlugins/ai_block_io/__init__.py (100%) rename {sysSentry-1.0.2/src => src}/python/sentryPlugins/ai_block_io/ai_block_io.py (100%) rename {sysSentry-1.0.2/src => src}/python/sentryPlugins/ai_block_io/alarm_report.py (100%) rename {sysSentry-1.0.2/src => src}/python/sentryPlugins/ai_block_io/config_parser.py (100%) rename {sysSentry-1.0.2/src => src}/python/sentryPlugins/ai_block_io/data_access.py (100%) rename {sysSentry-1.0.2/src => src}/python/sentryPlugins/ai_block_io/detector.py (100%) rename {sysSentry-1.0.2/src => src}/python/sentryPlugins/ai_block_io/io_data.py (100%) rename {sysSentry-1.0.2/src => src}/python/sentryPlugins/ai_block_io/sliding_window.py (100%) rename {sysSentry-1.0.2/src => src}/python/sentryPlugins/ai_block_io/threshold.py (100%) rename {sysSentry-1.0.2/src => src}/python/sentryPlugins/ai_block_io/utils.py (100%) rename {sysSentry-1.0.2/src => src}/python/sentryPlugins/avg_block_io/__init__.py (100%) rename {sysSentry-1.0.2/src => src}/python/sentryPlugins/avg_block_io/avg_block_io.py (100%) rename {sysSentry-1.0.2/src => src}/python/sentryPlugins/avg_block_io/config.py (100%) rename {sysSentry-1.0.2/src => src}/python/sentryPlugins/avg_block_io/module_conn.py (100%) rename {sysSentry-1.0.2/src => src}/python/sentryPlugins/avg_block_io/stage_window.py (100%) rename {sysSentry-1.0.2/src => src}/python/sentryPlugins/avg_block_io/utils.py (100%) rename {sysSentry-1.0.2/src => src}/python/setup.py (100%) rename {sysSentry-1.0.2/src => src}/python/syssentry/__init__.py (100%) rename {sysSentry-1.0.2/src => src}/python/syssentry/__main__.py (100%) rename {sysSentry-1.0.2/src => src}/python/syssentry/alarm.py (100%) rename {sysSentry-1.0.2/src => src}/python/syssentry/bmc_alarm.py (100%) rename {sysSentry-1.0.2/src => src}/python/syssentry/callbacks.py (100%) rename {sysSentry-1.0.2/src => src}/python/syssentry/cpu_alarm.py (100%) rename {sysSentry-1.0.2/src => src}/python/syssentry/cpu_sentry.py (100%) rename {sysSentry-1.0.2/src => src}/python/syssentry/cron_process.py (100%) rename {sysSentry-1.0.2/src => src}/python/syssentry/global_values.py (100%) rename {sysSentry-1.0.2/src => src}/python/syssentry/heartbeat.py (100%) rename {sysSentry-1.0.2/src => src}/python/syssentry/load_mods.py (100%) rename {sysSentry-1.0.2/src => src}/python/syssentry/mod_status.py (100%) rename {sysSentry-1.0.2/src => src}/python/syssentry/result.py (100%) rename {sysSentry-1.0.2/src => src}/python/syssentry/sentry_config.py (100%) rename {sysSentry-1.0.2/src => src}/python/syssentry/sentryctl (100%) rename {sysSentry-1.0.2/src => src}/python/syssentry/syssentry.py (100%) rename {sysSentry-1.0.2/src => src}/python/syssentry/task_map.py (100%) rename {sysSentry-1.0.2/src => src}/python/syssentry/utils.py (100%) rename {sysSentry-1.0.2/src => src}/python/xalarm/__init__.py (100%) rename {sysSentry-1.0.2/src => src}/python/xalarm/register_xalarm.py (100%) rename {sysSentry-1.0.2/src => src}/python/xalarm/sentry_notify.py (100%) rename {sysSentry-1.0.2/src => src}/python/xalarm/xalarm_api.py (100%) rename {sysSentry-1.0.2/src => src}/python/xalarm/xalarm_config.py (100%) rename {sysSentry-1.0.2/src => src}/python/xalarm/xalarm_daemon.py (100%) rename {sysSentry-1.0.2/src => src}/python/xalarm/xalarm_server.py (100%) rename {sysSentry-1.0.2/src => src}/python/xalarm/xalarm_transfer.py (100%) delete mode 100644 sysSentry-1.0.2/README delete mode 100644 sysSentry-1.0.2/RELEASE-NOTES.md delete mode 100644 sysSentry-1.0.2/src/c/hbm_online_repair/.gitignore delete mode 100644 sysSentry-1.0.2/src/python/.gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c621c7f --- /dev/null +++ b/.gitignore @@ -0,0 +1,27 @@ +# logs +[Ll]og/ +[Ll]ogs/ +*.log + +# Visual Studio +*.vs/ +*.vscode/ +*.[Cc]ache +!?*.[Cc]ache/ + +# test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +# coverage +coverage*[.json, .xml, .info] +*.coverage + +# python +*.__pycache__/ +*.pyc + +# C +*.o +*.c~ +*.h~ \ No newline at end of file diff --git "a/sysSentry-1.0.2/Docs/CATCLI\344\275\277\347\224\250\346\211\213\345\206\214.md" "b/Docs/CATCLI\344\275\277\347\224\250\346\211\213\345\206\214.md" similarity index 100% rename from "sysSentry-1.0.2/Docs/CATCLI\344\275\277\347\224\250\346\211\213\345\206\214.md" rename to "Docs/CATCLI\344\275\277\347\224\250\346\211\213\345\206\214.md" diff --git a/sysSentry-1.0.2/License/LICENSE b/License/LICENSE similarity index 100% rename from sysSentry-1.0.2/License/LICENSE rename to License/LICENSE diff --git a/doc/UserGuide b/README.md similarity index 100% rename from doc/UserGuide rename to README.md diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md new file mode 100644 index 0000000..f63a2e4 --- /dev/null +++ b/RELEASE-NOTES.md @@ -0,0 +1,10 @@ +# Release Notes + +## 1.0.3 - prepare +1. add cpu_sentry plugins for aarch64, kernel-5.10, cpu920F +2. add avg_block_io plugins for aarch64/x86_64, kernel-4.19 +3. add ai_block_io plugins for aarch64/x86_64, kernel-4.19 +4. add hbm_online_repair for aarch64/x86_64, kernel-5.10 + +## 1.0.2 - 2024/06/11 +1. Initial version diff --git a/sysSentry-1.0.2/build/build.sh b/build/build.sh similarity index 100% rename from sysSentry-1.0.2/build/build.sh rename to build/build.sh diff --git a/sysSentry-1.0.2/config/collector.conf b/config/collector.conf similarity index 100% rename from sysSentry-1.0.2/config/collector.conf rename to config/collector.conf diff --git a/sysSentry-1.0.2/config/inspect.conf b/config/inspect.conf similarity index 100% rename from sysSentry-1.0.2/config/inspect.conf rename to config/inspect.conf diff --git a/sysSentry-1.0.2/config/logrotate b/config/logrotate similarity index 100% rename from sysSentry-1.0.2/config/logrotate rename to config/logrotate diff --git a/sysSentry-1.0.2/config/plugins/ai_block_io.ini b/config/plugins/ai_block_io.ini similarity index 100% rename from sysSentry-1.0.2/config/plugins/ai_block_io.ini rename to config/plugins/ai_block_io.ini diff --git a/sysSentry-1.0.2/config/plugins/avg_block_io.ini b/config/plugins/avg_block_io.ini similarity index 100% rename from sysSentry-1.0.2/config/plugins/avg_block_io.ini rename to config/plugins/avg_block_io.ini diff --git a/sysSentry-1.0.2/config/plugins/cpu_sentry.ini b/config/plugins/cpu_sentry.ini similarity index 100% rename from sysSentry-1.0.2/config/plugins/cpu_sentry.ini rename to config/plugins/cpu_sentry.ini diff --git a/sysSentry-1.0.2/config/tasks/ai_block_io.mod b/config/tasks/ai_block_io.mod similarity index 100% rename from sysSentry-1.0.2/config/tasks/ai_block_io.mod rename to config/tasks/ai_block_io.mod diff --git a/sysSentry-1.0.2/config/tasks/avg_block_io.mod b/config/tasks/avg_block_io.mod similarity index 100% rename from sysSentry-1.0.2/config/tasks/avg_block_io.mod rename to config/tasks/avg_block_io.mod diff --git a/sysSentry-1.0.2/config/tasks/cpu_sentry.mod b/config/tasks/cpu_sentry.mod similarity index 100% rename from sysSentry-1.0.2/config/tasks/cpu_sentry.mod rename to config/tasks/cpu_sentry.mod diff --git a/sysSentry-1.0.2/config/tasks/hbm_online_repair.mod b/config/tasks/hbm_online_repair.mod similarity index 100% rename from sysSentry-1.0.2/config/tasks/hbm_online_repair.mod rename to config/tasks/hbm_online_repair.mod diff --git a/sysSentry-1.0.2/config/tasks/rasdaemon.mod b/config/tasks/rasdaemon.mod similarity index 100% rename from sysSentry-1.0.2/config/tasks/rasdaemon.mod rename to config/tasks/rasdaemon.mod diff --git a/sysSentry-1.0.2/config/xalarm.conf b/config/xalarm.conf similarity index 100% rename from sysSentry-1.0.2/config/xalarm.conf rename to config/xalarm.conf diff --git a/doc/LICENSE b/doc/LICENSE deleted file mode 100644 index 87316c7..0000000 --- a/doc/LICENSE +++ /dev/null @@ -1,427 +0,0 @@ -Attribution-ShareAlike 4.0 International - -======================================================================= - -Creative Commons Corporation ("Creative Commons") is not a law firm and -does not provide legal services or legal advice. Distribution of -Creative Commons public licenses does not create a lawyer-client or -other relationship. Creative Commons makes its licenses and related -information available on an "as-is" basis. Creative Commons gives no -warranties regarding its licenses, any material licensed under their -terms and conditions, or any related information. Creative Commons -disclaims all liability for damages resulting from their use to the -fullest extent possible. - -Using Creative Commons Public Licenses - -Creative Commons public licenses provide a standard set of terms and -conditions that creators and other rights holders may use to share -original works of authorship and other material subject to copyright -and certain other rights specified in the public license below. The -following considerations are for informational purposes only, are not -exhaustive, and do not form part of our licenses. - - Considerations for licensors: Our public licenses are - intended for use by those authorized to give the public - permission to use material in ways otherwise restricted by - copyright and certain other rights. Our licenses are - irrevocable. Licensors should read and understand the terms - and conditions of the license they choose before applying it. - Licensors should also secure all rights necessary before - applying our licenses so that the public can reuse the - material as expected. Licensors should clearly mark any - material not subject to the license. This includes other CC- - licensed material, or material used under an exception or - limitation to copyright. More considerations for licensors: - wiki.creativecommons.org/Considerations_for_licensors - - Considerations for the public: By using one of our public - licenses, a licensor grants the public permission to use the - licensed material under specified terms and conditions. If - the licensor's permission is not necessary for any reason--for - example, because of any applicable exception or limitation to - copyright--then that use is not regulated by the license. Our - licenses grant only permissions under copyright and certain - other rights that a licensor has authority to grant. Use of - the licensed material may still be restricted for other - reasons, including because others have copyright or other - rights in the material. A licensor may make special requests, - such as asking that all changes be marked or described. - Although not required by our licenses, you are encouraged to - respect those requests where reasonable. More_considerations - for the public: - wiki.creativecommons.org/Considerations_for_licensees - -======================================================================= - -Creative Commons Attribution-ShareAlike 4.0 International Public -License - -By exercising the Licensed Rights (defined below), You accept and agree -to be bound by the terms and conditions of this Creative Commons -Attribution-ShareAlike 4.0 International Public License ("Public -License"). To the extent this Public License may be interpreted as a -contract, You are granted the Licensed Rights in consideration of Your -acceptance of these terms and conditions, and the Licensor grants You -such rights in consideration of benefits the Licensor receives from -making the Licensed Material available under these terms and -conditions. - - -Section 1 -- Definitions. - - a. Adapted Material means material subject to Copyright and Similar - Rights that is derived from or based upon the Licensed Material - and in which the Licensed Material is translated, altered, - arranged, transformed, or otherwise modified in a manner requiring - permission under the Copyright and Similar Rights held by the - Licensor. For purposes of this Public License, where the Licensed - Material is a musical work, performance, or sound recording, - Adapted Material is always produced where the Licensed Material is - synched in timed relation with a moving image. - - b. Adapter's License means the license You apply to Your Copyright - and Similar Rights in Your contributions to Adapted Material in - accordance with the terms and conditions of this Public License. - - c. BY-SA Compatible License means a license listed at - creativecommons.org/compatiblelicenses, approved by Creative - Commons as essentially the equivalent of this Public License. - - d. Copyright and Similar Rights means copyright and/or similar rights - closely related to copyright including, without limitation, - performance, broadcast, sound recording, and Sui Generis Database - Rights, without regard to how the rights are labeled or - categorized. For purposes of this Public License, the rights - specified in Section 2(b)(1)-(2) are not Copyright and Similar - Rights. - - e. Effective Technological Measures means those measures that, in the - absence of proper authority, may not be circumvented under laws - fulfilling obligations under Article 11 of the WIPO Copyright - Treaty adopted on December 20, 1996, and/or similar international - agreements. - - f. Exceptions and Limitations means fair use, fair dealing, and/or - any other exception or limitation to Copyright and Similar Rights - that applies to Your use of the Licensed Material. - - g. License Elements means the license attributes listed in the name - of a Creative Commons Public License. The License Elements of this - Public License are Attribution and ShareAlike. - - h. Licensed Material means the artistic or literary work, database, - or other material to which the Licensor applied this Public - License. - - i. Licensed Rights means the rights granted to You subject to the - terms and conditions of this Public License, which are limited to - all Copyright and Similar Rights that apply to Your use of the - Licensed Material and that the Licensor has authority to license. - - j. Licensor means the individual(s) or entity(ies) granting rights - under this Public License. - - k. Share means to provide material to the public by any means or - process that requires permission under the Licensed Rights, such - as reproduction, public display, public performance, distribution, - dissemination, communication, or importation, and to make material - available to the public including in ways that members of the - public may access the material from a place and at a time - individually chosen by them. - - l. Sui Generis Database Rights means rights other than copyright - resulting from Directive 96/9/EC of the European Parliament and of - the Council of 11 March 1996 on the legal protection of databases, - as amended and/or succeeded, as well as other essentially - equivalent rights anywhere in the world. - - m. You means the individual or entity exercising the Licensed Rights - under this Public License. Your has a corresponding meaning. - - -Section 2 -- Scope. - - a. License grant. - - 1. Subject to the terms and conditions of this Public License, - the Licensor hereby grants You a worldwide, royalty-free, - non-sublicensable, non-exclusive, irrevocable license to - exercise the Licensed Rights in the Licensed Material to: - - a. reproduce and Share the Licensed Material, in whole or - in part; and - - b. produce, reproduce, and Share Adapted Material. - - 2. Exceptions and Limitations. For the avoidance of doubt, where - Exceptions and Limitations apply to Your use, this Public - License does not apply, and You do not need to comply with - its terms and conditions. - - 3. Term. The term of this Public License is specified in Section - 6(a). - - 4. Media and formats; technical modifications allowed. The - Licensor authorizes You to exercise the Licensed Rights in - all media and formats whether now known or hereafter created, - and to make technical modifications necessary to do so. The - Licensor waives and/or agrees not to assert any right or - authority to forbid You from making technical modifications - necessary to exercise the Licensed Rights, including - technical modifications necessary to circumvent Effective - Technological Measures. For purposes of this Public License, - simply making modifications authorized by this Section 2(a) - (4) never produces Adapted Material. - - 5. Downstream recipients. - - a. Offer from the Licensor -- Licensed Material. Every - recipient of the Licensed Material automatically - receives an offer from the Licensor to exercise the - Licensed Rights under the terms and conditions of this - Public License. - - b. Additional offer from the Licensor -- Adapted Material. - Every recipient of Adapted Material from You - automatically receives an offer from the Licensor to - exercise the Licensed Rights in the Adapted Material - under the conditions of the Adapter's License You apply. - - c. No downstream restrictions. You may not offer or impose - any additional or different terms or conditions on, or - apply any Effective Technological Measures to, the - Licensed Material if doing so restricts exercise of the - Licensed Rights by any recipient of the Licensed - Material. - - 6. No endorsement. Nothing in this Public License constitutes or - may be construed as permission to assert or imply that You - are, or that Your use of the Licensed Material is, connected - with, or sponsored, endorsed, or granted official status by, - the Licensor or others designated to receive attribution as - provided in Section 3(a)(1)(A)(i). - - b. Other rights. - - 1. Moral rights, such as the right of integrity, are not - licensed under this Public License, nor are publicity, - privacy, and/or other similar personality rights; however, to - the extent possible, the Licensor waives and/or agrees not to - assert any such rights held by the Licensor to the limited - extent necessary to allow You to exercise the Licensed - Rights, but not otherwise. - - 2. Patent and trademark rights are not licensed under this - Public License. - - 3. To the extent possible, the Licensor waives any right to - collect royalties from You for the exercise of the Licensed - Rights, whether directly or through a collecting society - under any voluntary or waivable statutory or compulsory - licensing scheme. In all other cases the Licensor expressly - reserves any right to collect such royalties. - - -Section 3 -- License Conditions. - -Your exercise of the Licensed Rights is expressly made subject to the -following conditions. - - a. Attribution. - - 1. If You Share the Licensed Material (including in modified - form), You must: - - a. retain the following if it is supplied by the Licensor - with the Licensed Material: - - i. identification of the creator(s) of the Licensed - Material and any others designated to receive - attribution, in any reasonable manner requested by - the Licensor (including by pseudonym if - designated); - - ii. a copyright notice; - - iii. a notice that refers to this Public License; - - iv. a notice that refers to the disclaimer of - warranties; - - v. a URI or hyperlink to the Licensed Material to the - extent reasonably practicable; - - b. indicate if You modified the Licensed Material and - retain an indication of any previous modifications; and - - c. indicate the Licensed Material is licensed under this - Public License, and include the text of, or the URI or - hyperlink to, this Public License. - - 2. You may satisfy the conditions in Section 3(a)(1) in any - reasonable manner based on the medium, means, and context in - which You Share the Licensed Material. For example, it may be - reasonable to satisfy the conditions by providing a URI or - hyperlink to a resource that includes the required - information. - - 3. If requested by the Licensor, You must remove any of the - information required by Section 3(a)(1)(A) to the extent - reasonably practicable. - - b. ShareAlike. - - In addition to the conditions in Section 3(a), if You Share - Adapted Material You produce, the following conditions also apply. - - 1. The Adapter's License You apply must be a Creative Commons - license with the same License Elements, this version or - later, or a BY-SA Compatible License. - - 2. You must include the text of, or the URI or hyperlink to, the - Adapter's License You apply. You may satisfy this condition - in any reasonable manner based on the medium, means, and - context in which You Share Adapted Material. - - 3. You may not offer or impose any additional or different terms - or conditions on, or apply any Effective Technological - Measures to, Adapted Material that restrict exercise of the - rights granted under the Adapter's License You apply. - - -Section 4 -- Sui Generis Database Rights. - -Where the Licensed Rights include Sui Generis Database Rights that -apply to Your use of the Licensed Material: - - a. for the avoidance of doubt, Section 2(a)(1) grants You the right - to extract, reuse, reproduce, and Share all or a substantial - portion of the contents of the database; - - b. if You include all or a substantial portion of the database - contents in a database in which You have Sui Generis Database - Rights, then the database in which You have Sui Generis Database - Rights (but not its individual contents) is Adapted Material, - - including for purposes of Section 3(b); and - c. You must comply with the conditions in Section 3(a) if You Share - all or a substantial portion of the contents of the database. - -For the avoidance of doubt, this Section 4 supplements and does not -replace Your obligations under this Public License where the Licensed -Rights include other Copyright and Similar Rights. - - -Section 5 -- Disclaimer of Warranties and Limitation of Liability. - - a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE - EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS - AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF - ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, - IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, - WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR - PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, - ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT - KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT - ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. - - b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE - TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, - NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, - INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, - COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR - USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN - ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR - DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR - IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. - - c. The disclaimer of warranties and limitation of liability provided - above shall be interpreted in a manner that, to the extent - possible, most closely approximates an absolute disclaimer and - waiver of all liability. - - -Section 6 -- Term and Termination. - - a. This Public License applies for the term of the Copyright and - Similar Rights licensed here. However, if You fail to comply with - this Public License, then Your rights under this Public License - terminate automatically. - - b. Where Your right to use the Licensed Material has terminated under - Section 6(a), it reinstates: - - 1. automatically as of the date the violation is cured, provided - it is cured within 30 days of Your discovery of the - violation; or - - 2. upon express reinstatement by the Licensor. - - For the avoidance of doubt, this Section 6(b) does not affect any - right the Licensor may have to seek remedies for Your violations - of this Public License. - - c. For the avoidance of doubt, the Licensor may also offer the - Licensed Material under separate terms or conditions or stop - distributing the Licensed Material at any time; however, doing so - will not terminate this Public License. - - d. Sections 1, 5, 6, 7, and 8 survive termination of this Public - License. - - -Section 7 -- Other Terms and Conditions. - - a. The Licensor shall not be bound by any additional or different - terms or conditions communicated by You unless expressly agreed. - - b. Any arrangements, understandings, or agreements regarding the - Licensed Material not stated herein are separate from and - independent of the terms and conditions of this Public License. - - -Section 8 -- Interpretation. - - a. For the avoidance of doubt, this Public License does not, and - shall not be interpreted to, reduce, limit, restrict, or impose - conditions on any use of the Licensed Material that could lawfully - be made without permission under this Public License. - - b. To the extent possible, if any provision of this Public License is - deemed unenforceable, it shall be automatically reformed to the - minimum extent necessary to make it enforceable. If the provision - cannot be reformed, it shall be severed from this Public License - without affecting the enforceability of the remaining terms and - conditions. - - c. No term or condition of this Public License will be waived and no - failure to comply consented to unless expressly agreed to by the - Licensor. - - d. Nothing in this Public License constitutes or may be interpreted - as a limitation upon, or waiver of, any privileges and immunities - that apply to the Licensor or You, including from the legal - processes of any jurisdiction or authority. - - -======================================================================= - -Creative Commons is not a party to its public -licenses. Notwithstanding, Creative Commons may elect to apply one of -its public licenses to material it publishes and in those instances -will be considered the “Licensor.” The text of the Creative Commons -public licenses is dedicated to the public domain under the CC0 Public -Domain Dedication. Except for the limited purpose of indicating that -material is shared under a Creative Commons public license or as -otherwise permitted by the Creative Commons policies published at -creativecommons.org/policies, Creative Commons does not authorize the -use of the trademark "Creative Commons" or any other trademark or logo -of Creative Commons without its prior written consent including, -without limitation, in connection with any unauthorized modifications -to any of its public licenses or any other arrangements, -understandings, or agreements concerning use of licensed material. For -the avoidance of doubt, this paragraph does not form part of the -public licenses. - -Creative Commons may be contacted at creativecommons.org. \ No newline at end of file diff --git a/sysSentry-1.0.2/selftest/libs/expect.sh b/selftest/libs/expect.sh similarity index 100% rename from sysSentry-1.0.2/selftest/libs/expect.sh rename to selftest/libs/expect.sh diff --git a/sysSentry-1.0.2/selftest/libs/lib.sh b/selftest/libs/lib.sh similarity index 100% rename from sysSentry-1.0.2/selftest/libs/lib.sh rename to selftest/libs/lib.sh diff --git a/sysSentry-1.0.2/selftest/libs/log.sh b/selftest/libs/log.sh similarity index 100% rename from sysSentry-1.0.2/selftest/libs/log.sh rename to selftest/libs/log.sh diff --git a/sysSentry-1.0.2/selftest/libs/shopt.sh b/selftest/libs/shopt.sh similarity index 100% rename from sysSentry-1.0.2/selftest/libs/shopt.sh rename to selftest/libs/shopt.sh diff --git a/sysSentry-1.0.2/selftest/libs/wait.sh b/selftest/libs/wait.sh similarity index 100% rename from sysSentry-1.0.2/selftest/libs/wait.sh rename to selftest/libs/wait.sh diff --git a/sysSentry-1.0.2/selftest/mod/test_config.mod b/selftest/mod/test_config.mod similarity index 100% rename from sysSentry-1.0.2/selftest/mod/test_config.mod rename to selftest/mod/test_config.mod diff --git a/sysSentry-1.0.2/selftest/mod/test_task.c b/selftest/mod/test_task.c similarity index 100% rename from sysSentry-1.0.2/selftest/mod/test_task.c rename to selftest/mod/test_task.c diff --git a/sysSentry-1.0.2/selftest/test.sh b/selftest/test.sh similarity index 100% rename from sysSentry-1.0.2/selftest/test.sh rename to selftest/test.sh diff --git a/sysSentry-1.0.2/selftest/test/common.sh b/selftest/test/common.sh similarity index 100% rename from sysSentry-1.0.2/selftest/test/common.sh rename to selftest/test/common.sh diff --git a/sysSentry-1.0.2/selftest/test/nvme/ReadMe.md b/selftest/test/nvme/ReadMe.md similarity index 100% rename from sysSentry-1.0.2/selftest/test/nvme/ReadMe.md rename to selftest/test/nvme/ReadMe.md diff --git a/sysSentry-1.0.2/selftest/test/nvme/nvme_inject_install.sh b/selftest/test/nvme/nvme_inject_install.sh similarity index 100% rename from sysSentry-1.0.2/selftest/test/nvme/nvme_inject_install.sh rename to selftest/test/nvme/nvme_inject_install.sh diff --git a/sysSentry-1.0.2/selftest/test/nvme/nvme_inject_uninstall.sh b/selftest/test/nvme/nvme_inject_uninstall.sh similarity index 100% rename from sysSentry-1.0.2/selftest/test/nvme/nvme_inject_uninstall.sh rename to selftest/test/nvme/nvme_inject_uninstall.sh diff --git a/sysSentry-1.0.2/selftest/test/nvme/patch/nvme_inject.patch b/selftest/test/nvme/patch/nvme_inject.patch similarity index 100% rename from sysSentry-1.0.2/selftest/test/nvme/patch/nvme_inject.patch rename to selftest/test/nvme/patch/nvme_inject.patch diff --git a/sysSentry-1.0.2/selftest/test/nvme/patch/nvme_inject_make.sh b/selftest/test/nvme/patch/nvme_inject_make.sh similarity index 100% rename from sysSentry-1.0.2/selftest/test/nvme/patch/nvme_inject_make.sh rename to selftest/test/nvme/patch/nvme_inject_make.sh diff --git a/sysSentry-1.0.2/selftest/test/nvme/script/auto_test.sh b/selftest/test/nvme/script/auto_test.sh similarity index 100% rename from sysSentry-1.0.2/selftest/test/nvme/script/auto_test.sh rename to selftest/test/nvme/script/auto_test.sh diff --git a/sysSentry-1.0.2/selftest/test/nvme/script/ko_deadline.sh b/selftest/test/nvme/script/ko_deadline.sh similarity index 100% rename from sysSentry-1.0.2/selftest/test/nvme/script/ko_deadline.sh rename to selftest/test/nvme/script/ko_deadline.sh diff --git a/sysSentry-1.0.2/selftest/test/nvme/script/ko_full_disk.sh b/selftest/test/nvme/script/ko_full_disk.sh similarity index 100% rename from sysSentry-1.0.2/selftest/test/nvme/script/ko_full_disk.sh rename to selftest/test/nvme/script/ko_full_disk.sh diff --git a/sysSentry-1.0.2/selftest/test/nvme/script/ko_gettag.sh b/selftest/test/nvme/script/ko_gettag.sh similarity index 100% rename from sysSentry-1.0.2/selftest/test/nvme/script/ko_gettag.sh rename to selftest/test/nvme/script/ko_gettag.sh diff --git a/sysSentry-1.0.2/selftest/test/nvme/script/ko_hctx.sh b/selftest/test/nvme/script/ko_hctx.sh similarity index 100% rename from sysSentry-1.0.2/selftest/test/nvme/script/ko_hctx.sh rename to selftest/test/nvme/script/ko_hctx.sh diff --git a/sysSentry-1.0.2/selftest/test/nvme/script/ko_inject_fault.sh b/selftest/test/nvme/script/ko_inject_fault.sh similarity index 100% rename from sysSentry-1.0.2/selftest/test/nvme/script/ko_inject_fault.sh rename to selftest/test/nvme/script/ko_inject_fault.sh diff --git a/sysSentry-1.0.2/selftest/test/nvme/script/ko_plug.sh b/selftest/test/nvme/script/ko_plug.sh similarity index 100% rename from sysSentry-1.0.2/selftest/test/nvme/script/ko_plug.sh rename to selftest/test/nvme/script/ko_plug.sh diff --git a/sysSentry-1.0.2/selftest/test/nvme/script/ko_requeue.sh b/selftest/test/nvme/script/ko_requeue.sh similarity index 100% rename from sysSentry-1.0.2/selftest/test/nvme/script/ko_requeue.sh rename to selftest/test/nvme/script/ko_requeue.sh diff --git a/sysSentry-1.0.2/selftest/test/nvme/script/ko_single_disk.sh b/selftest/test/nvme/script/ko_single_disk.sh similarity index 100% rename from sysSentry-1.0.2/selftest/test/nvme/script/ko_single_disk.sh rename to selftest/test/nvme/script/ko_single_disk.sh diff --git a/sysSentry-1.0.2/selftest/test/nvme/script/normal.fio b/selftest/test/nvme/script/normal.fio similarity index 100% rename from sysSentry-1.0.2/selftest/test/nvme/script/normal.fio rename to selftest/test/nvme/script/normal.fio diff --git a/sysSentry-1.0.2/selftest/test/nvme/script/nvme_await_us.sh b/selftest/test/nvme/script/nvme_await_us.sh similarity index 100% rename from sysSentry-1.0.2/selftest/test/nvme/script/nvme_await_us.sh rename to selftest/test/nvme/script/nvme_await_us.sh diff --git a/sysSentry-1.0.2/selftest/test/nvme/script/nvme_block.sh b/selftest/test/nvme/script/nvme_block.sh similarity index 100% rename from sysSentry-1.0.2/selftest/test/nvme/script/nvme_block.sh rename to selftest/test/nvme/script/nvme_block.sh diff --git a/sysSentry-1.0.2/selftest/test/nvme/script/nvme_partial_slow_us.sh b/selftest/test/nvme/script/nvme_partial_slow_us.sh similarity index 100% rename from sysSentry-1.0.2/selftest/test/nvme/script/nvme_partial_slow_us.sh rename to selftest/test/nvme/script/nvme_partial_slow_us.sh diff --git a/sysSentry-1.0.2/selftest/test/nvme/script/press.sh b/selftest/test/nvme/script/press.sh similarity index 100% rename from sysSentry-1.0.2/selftest/test/nvme/script/press.sh rename to selftest/test/nvme/script/press.sh diff --git a/sysSentry-1.0.2/selftest/test/test_ai_threshold_slow_io_detection.py b/selftest/test/test_ai_threshold_slow_io_detection.py similarity index 100% rename from sysSentry-1.0.2/selftest/test/test_ai_threshold_slow_io_detection.py rename to selftest/test/test_ai_threshold_slow_io_detection.py diff --git a/sysSentry-1.0.2/selftest/test/test_cpu_sentry.py b/selftest/test/test_cpu_sentry.py similarity index 100% rename from sysSentry-1.0.2/selftest/test/test_cpu_sentry.py rename to selftest/test/test_cpu_sentry.py diff --git a/sysSentry-1.0.2/selftest/test/test_sentryctl_end_exception.sh b/selftest/test/test_sentryctl_end_exception.sh similarity index 100% rename from sysSentry-1.0.2/selftest/test/test_sentryctl_end_exception.sh rename to selftest/test/test_sentryctl_end_exception.sh diff --git a/sysSentry-1.0.2/selftest/test/test_sentryctl_exception.sh b/selftest/test/test_sentryctl_exception.sh similarity index 100% rename from sysSentry-1.0.2/selftest/test/test_sentryctl_exception.sh rename to selftest/test/test_sentryctl_exception.sh diff --git a/sysSentry-1.0.2/selftest/test/test_sentryctl_heartbeat_exception.sh b/selftest/test/test_sentryctl_heartbeat_exception.sh similarity index 100% rename from sysSentry-1.0.2/selftest/test/test_sentryctl_heartbeat_exception.sh rename to selftest/test/test_sentryctl_heartbeat_exception.sh diff --git a/sysSentry-1.0.2/selftest/test/test_sentryctl_interval_exception.sh b/selftest/test/test_sentryctl_interval_exception.sh similarity index 100% rename from sysSentry-1.0.2/selftest/test/test_sentryctl_interval_exception.sh rename to selftest/test/test_sentryctl_interval_exception.sh diff --git a/sysSentry-1.0.2/selftest/test/test_sentryctl_modname_long_length_exception.sh b/selftest/test/test_sentryctl_modname_long_length_exception.sh similarity index 100% rename from sysSentry-1.0.2/selftest/test/test_sentryctl_modname_long_length_exception.sh rename to selftest/test/test_sentryctl_modname_long_length_exception.sh diff --git a/sysSentry-1.0.2/selftest/test/test_sentryctl_modname_valid.sh b/selftest/test/test_sentryctl_modname_valid.sh similarity index 100% rename from sysSentry-1.0.2/selftest/test/test_sentryctl_modname_valid.sh rename to selftest/test/test_sentryctl_modname_valid.sh diff --git a/sysSentry-1.0.2/selftest/test/test_sentryctl_normal.sh b/selftest/test/test_sentryctl_normal.sh similarity index 100% rename from sysSentry-1.0.2/selftest/test/test_sentryctl_normal.sh rename to selftest/test/test_sentryctl_normal.sh diff --git a/sysSentry-1.0.2/selftest/test/test_sentryctl_reload.sh b/selftest/test/test_sentryctl_reload.sh similarity index 100% rename from sysSentry-1.0.2/selftest/test/test_sentryctl_reload.sh rename to selftest/test/test_sentryctl_reload.sh diff --git a/sysSentry-1.0.2/selftest/test/test_sentryctl_start_exception.sh b/selftest/test/test_sentryctl_start_exception.sh similarity index 100% rename from sysSentry-1.0.2/selftest/test/test_sentryctl_start_exception.sh rename to selftest/test/test_sentryctl_start_exception.sh diff --git a/sysSentry-1.0.2/selftest/test/test_sentryctl_type_exception.sh b/selftest/test/test_sentryctl_type_exception.sh similarity index 100% rename from sysSentry-1.0.2/selftest/test/test_sentryctl_type_exception.sh rename to selftest/test/test_sentryctl_type_exception.sh diff --git a/sysSentry-1.0.2/selftest/test/test_sentryctl_type_oneshot.sh b/selftest/test/test_sentryctl_type_oneshot.sh similarity index 100% rename from sysSentry-1.0.2/selftest/test/test_sentryctl_type_oneshot.sh rename to selftest/test/test_sentryctl_type_oneshot.sh diff --git a/sysSentry-1.0.2/selftest/test/test_sentryctl_type_period.sh b/selftest/test/test_sentryctl_type_period.sh similarity index 100% rename from sysSentry-1.0.2/selftest/test/test_sentryctl_type_period.sh rename to selftest/test/test_sentryctl_type_period.sh diff --git a/sysSentry-1.0.2/selftest/test/test_xalarm_read_config_exception.sh b/selftest/test/test_xalarm_read_config_exception.sh similarity index 100% rename from sysSentry-1.0.2/selftest/test/test_xalarm_read_config_exception.sh rename to selftest/test/test_xalarm_read_config_exception.sh diff --git a/sysSentry-1.0.2/selftest/test/test_xalarm_register_and_unregister_exception.sh b/selftest/test/test_xalarm_register_and_unregister_exception.sh similarity index 100% rename from sysSentry-1.0.2/selftest/test/test_xalarm_register_and_unregister_exception.sh rename to selftest/test/test_xalarm_register_and_unregister_exception.sh diff --git a/sysSentry-1.0.2/selftest/test/test_xalarm_restart_exception.sh b/selftest/test/test_xalarm_restart_exception.sh similarity index 100% rename from sysSentry-1.0.2/selftest/test/test_xalarm_restart_exception.sh rename to selftest/test/test_xalarm_restart_exception.sh diff --git a/sysSentry-1.0.2/selftest/test/test_xalarm_send_message.sh b/selftest/test/test_xalarm_send_message.sh similarity index 100% rename from sysSentry-1.0.2/selftest/test/test_xalarm_send_message.sh rename to selftest/test/test_xalarm_send_message.sh diff --git a/sysSentry-1.0.2/selftest/test/test_xalarm_upgrade_exception.sh b/selftest/test/test_xalarm_upgrade_exception.sh similarity index 100% rename from sysSentry-1.0.2/selftest/test/test_xalarm_upgrade_exception.sh rename to selftest/test/test_xalarm_upgrade_exception.sh diff --git a/sysSentry-1.0.2/selftest/xalarm/CMakeLists.txt b/selftest/xalarm/CMakeLists.txt similarity index 100% rename from sysSentry-1.0.2/selftest/xalarm/CMakeLists.txt rename to selftest/xalarm/CMakeLists.txt diff --git a/sysSentry-1.0.2/selftest/xalarm/reg_demo.c b/selftest/xalarm/reg_demo.c similarity index 100% rename from sysSentry-1.0.2/selftest/xalarm/reg_demo.c rename to selftest/xalarm/reg_demo.c diff --git a/sysSentry-1.0.2/selftest/xalarm/send_demo.c b/selftest/xalarm/send_demo.c similarity index 100% rename from sysSentry-1.0.2/selftest/xalarm/send_demo.c rename to selftest/xalarm/send_demo.c diff --git a/sysSentry-1.0.2/selftest/xalarm/unreg_demo.c b/selftest/xalarm/unreg_demo.c similarity index 100% rename from sysSentry-1.0.2/selftest/xalarm/unreg_demo.c rename to selftest/xalarm/unreg_demo.c diff --git a/sysSentry-1.0.2/selftest/xalarm/upgrade_demo.c b/selftest/xalarm/upgrade_demo.c similarity index 100% rename from sysSentry-1.0.2/selftest/xalarm/upgrade_demo.c rename to selftest/xalarm/upgrade_demo.c diff --git a/sysSentry-1.0.2/service/sentryCollector.service b/service/sentryCollector.service similarity index 100% rename from sysSentry-1.0.2/service/sentryCollector.service rename to service/sentryCollector.service diff --git a/sysSentry-1.0.2/service/sysSentry.service b/service/sysSentry.service similarity index 100% rename from sysSentry-1.0.2/service/sysSentry.service rename to service/sysSentry.service diff --git a/sysSentry-1.0.2/service/xalarmd.service b/service/xalarmd.service similarity index 100% rename from sysSentry-1.0.2/service/xalarmd.service rename to service/xalarmd.service diff --git a/sysSentry-1.0.2/src/c/catcli/README.md b/src/c/catcli/README.md similarity index 100% rename from sysSentry-1.0.2/src/c/catcli/README.md rename to src/c/catcli/README.md diff --git a/sysSentry-1.0.2/src/c/catcli/catlib/CMakeLists.txt b/src/c/catcli/catlib/CMakeLists.txt similarity index 100% rename from sysSentry-1.0.2/src/c/catcli/catlib/CMakeLists.txt rename to src/c/catcli/catlib/CMakeLists.txt diff --git a/sysSentry-1.0.2/src/c/catcli/catlib/cat_structs.h b/src/c/catcli/catlib/cat_structs.h similarity index 100% rename from sysSentry-1.0.2/src/c/catcli/catlib/cat_structs.h rename to src/c/catcli/catlib/cat_structs.h diff --git a/sysSentry-1.0.2/src/c/catcli/catlib/catcli.c b/src/c/catcli/catlib/catcli.c similarity index 100% rename from sysSentry-1.0.2/src/c/catcli/catlib/catcli.c rename to src/c/catcli/catlib/catcli.c diff --git a/sysSentry-1.0.2/src/c/catcli/catlib/cli_common.c b/src/c/catcli/catlib/cli_common.c similarity index 100% rename from sysSentry-1.0.2/src/c/catcli/catlib/cli_common.c rename to src/c/catcli/catlib/cli_common.c diff --git a/sysSentry-1.0.2/src/c/catcli/catlib/cli_common.h b/src/c/catcli/catlib/cli_common.h similarity index 100% rename from sysSentry-1.0.2/src/c/catcli/catlib/cli_common.h rename to src/c/catcli/catlib/cli_common.h diff --git a/sysSentry-1.0.2/src/c/catcli/catlib/cli_executor.c b/src/c/catcli/catlib/cli_executor.c similarity index 100% rename from sysSentry-1.0.2/src/c/catcli/catlib/cli_executor.c rename to src/c/catcli/catlib/cli_executor.c diff --git a/sysSentry-1.0.2/src/c/catcli/catlib/cli_executor.h b/src/c/catcli/catlib/cli_executor.h similarity index 100% rename from sysSentry-1.0.2/src/c/catcli/catlib/cli_executor.h rename to src/c/catcli/catlib/cli_executor.h diff --git a/sysSentry-1.0.2/src/c/catcli/catlib/cli_param_checker.c b/src/c/catcli/catlib/cli_param_checker.c similarity index 100% rename from sysSentry-1.0.2/src/c/catcli/catlib/cli_param_checker.c rename to src/c/catcli/catlib/cli_param_checker.c diff --git a/sysSentry-1.0.2/src/c/catcli/catlib/cli_param_checker.h b/src/c/catcli/catlib/cli_param_checker.h similarity index 100% rename from sysSentry-1.0.2/src/c/catcli/catlib/cli_param_checker.h rename to src/c/catcli/catlib/cli_param_checker.h diff --git a/sysSentry-1.0.2/src/c/catcli/catlib/plugin/CMakeLists.txt b/src/c/catcli/catlib/plugin/CMakeLists.txt similarity index 100% rename from sysSentry-1.0.2/src/c/catcli/catlib/plugin/CMakeLists.txt rename to src/c/catcli/catlib/plugin/CMakeLists.txt diff --git a/sysSentry-1.0.2/src/c/catcli/catlib/plugin/cpu_patrol/CMakeLists.txt b/src/c/catcli/catlib/plugin/cpu_patrol/CMakeLists.txt similarity index 100% rename from sysSentry-1.0.2/src/c/catcli/catlib/plugin/cpu_patrol/CMakeLists.txt rename to src/c/catcli/catlib/plugin/cpu_patrol/CMakeLists.txt diff --git a/sysSentry-1.0.2/src/c/catcli/catlib/plugin/cpu_patrol/cpu_patrol.c b/src/c/catcli/catlib/plugin/cpu_patrol/cpu_patrol.c similarity index 100% rename from sysSentry-1.0.2/src/c/catcli/catlib/plugin/cpu_patrol/cpu_patrol.c rename to src/c/catcli/catlib/plugin/cpu_patrol/cpu_patrol.c diff --git a/sysSentry-1.0.2/src/c/catcli/catlib/plugin/cpu_patrol/cpu_patrol.h b/src/c/catcli/catlib/plugin/cpu_patrol/cpu_patrol.h similarity index 100% rename from sysSentry-1.0.2/src/c/catcli/catlib/plugin/cpu_patrol/cpu_patrol.h rename to src/c/catcli/catlib/plugin/cpu_patrol/cpu_patrol.h diff --git a/sysSentry-1.0.2/src/c/catcli/catlib/plugin/cpu_patrol/cpu_patrol_result.c b/src/c/catcli/catlib/plugin/cpu_patrol/cpu_patrol_result.c similarity index 100% rename from sysSentry-1.0.2/src/c/catcli/catlib/plugin/cpu_patrol/cpu_patrol_result.c rename to src/c/catcli/catlib/plugin/cpu_patrol/cpu_patrol_result.c diff --git a/sysSentry-1.0.2/src/c/catcli/catlib/plugin/cpu_patrol/cpu_patrol_result.h b/src/c/catcli/catlib/plugin/cpu_patrol/cpu_patrol_result.h similarity index 100% rename from sysSentry-1.0.2/src/c/catcli/catlib/plugin/cpu_patrol/cpu_patrol_result.h rename to src/c/catcli/catlib/plugin/cpu_patrol/cpu_patrol_result.h diff --git a/sysSentry-1.0.2/src/c/catcli/catlib/plugin/mem_patrol/CMakeLists.txt b/src/c/catcli/catlib/plugin/mem_patrol/CMakeLists.txt similarity index 100% rename from sysSentry-1.0.2/src/c/catcli/catlib/plugin/mem_patrol/CMakeLists.txt rename to src/c/catcli/catlib/plugin/mem_patrol/CMakeLists.txt diff --git a/sysSentry-1.0.2/src/c/ebpf_collector/Makefile b/src/c/ebpf_collector/Makefile similarity index 100% rename from sysSentry-1.0.2/src/c/ebpf_collector/Makefile rename to src/c/ebpf_collector/Makefile diff --git a/sysSentry-1.0.2/src/c/ebpf_collector/bpf_helpers.h b/src/c/ebpf_collector/bpf_helpers.h similarity index 100% rename from sysSentry-1.0.2/src/c/ebpf_collector/bpf_helpers.h rename to src/c/ebpf_collector/bpf_helpers.h diff --git a/sysSentry-1.0.2/src/c/ebpf_collector/bpf_load.c b/src/c/ebpf_collector/bpf_load.c similarity index 100% rename from sysSentry-1.0.2/src/c/ebpf_collector/bpf_load.c rename to src/c/ebpf_collector/bpf_load.c diff --git a/sysSentry-1.0.2/src/c/ebpf_collector/ebpf_collector.bpf.c b/src/c/ebpf_collector/ebpf_collector.bpf.c similarity index 100% rename from sysSentry-1.0.2/src/c/ebpf_collector/ebpf_collector.bpf.c rename to src/c/ebpf_collector/ebpf_collector.bpf.c diff --git a/sysSentry-1.0.2/src/c/ebpf_collector/ebpf_collector.c b/src/c/ebpf_collector/ebpf_collector.c similarity index 100% rename from sysSentry-1.0.2/src/c/ebpf_collector/ebpf_collector.c rename to src/c/ebpf_collector/ebpf_collector.c diff --git a/sysSentry-1.0.2/src/c/ebpf_collector/ebpf_collector.h b/src/c/ebpf_collector/ebpf_collector.h similarity index 100% rename from sysSentry-1.0.2/src/c/ebpf_collector/ebpf_collector.h rename to src/c/ebpf_collector/ebpf_collector.h diff --git a/sysSentry-1.0.2/src/c/hbm_online_repair/Makefile b/src/c/hbm_online_repair/Makefile similarity index 100% rename from sysSentry-1.0.2/src/c/hbm_online_repair/Makefile rename to src/c/hbm_online_repair/Makefile diff --git a/sysSentry-1.0.2/src/c/hbm_online_repair/hbm_online_repair.c b/src/c/hbm_online_repair/hbm_online_repair.c similarity index 100% rename from sysSentry-1.0.2/src/c/hbm_online_repair/hbm_online_repair.c rename to src/c/hbm_online_repair/hbm_online_repair.c diff --git a/sysSentry-1.0.2/src/c/hbm_online_repair/hbm_online_repair.env b/src/c/hbm_online_repair/hbm_online_repair.env similarity index 100% rename from sysSentry-1.0.2/src/c/hbm_online_repair/hbm_online_repair.env rename to src/c/hbm_online_repair/hbm_online_repair.env diff --git a/sysSentry-1.0.2/src/c/hbm_online_repair/logger.h b/src/c/hbm_online_repair/logger.h similarity index 100% rename from sysSentry-1.0.2/src/c/hbm_online_repair/logger.h rename to src/c/hbm_online_repair/logger.h diff --git a/sysSentry-1.0.2/src/c/hbm_online_repair/non-standard-hbm-repair.c b/src/c/hbm_online_repair/non-standard-hbm-repair.c similarity index 100% rename from sysSentry-1.0.2/src/c/hbm_online_repair/non-standard-hbm-repair.c rename to src/c/hbm_online_repair/non-standard-hbm-repair.c diff --git a/sysSentry-1.0.2/src/c/hbm_online_repair/non-standard-hbm-repair.h b/src/c/hbm_online_repair/non-standard-hbm-repair.h similarity index 100% rename from sysSentry-1.0.2/src/c/hbm_online_repair/non-standard-hbm-repair.h rename to src/c/hbm_online_repair/non-standard-hbm-repair.h diff --git a/sysSentry-1.0.2/src/c/hbm_online_repair/ras-events.c b/src/c/hbm_online_repair/ras-events.c similarity index 100% rename from sysSentry-1.0.2/src/c/hbm_online_repair/ras-events.c rename to src/c/hbm_online_repair/ras-events.c diff --git a/sysSentry-1.0.2/src/c/hbm_online_repair/ras-events.h b/src/c/hbm_online_repair/ras-events.h similarity index 100% rename from sysSentry-1.0.2/src/c/hbm_online_repair/ras-events.h rename to src/c/hbm_online_repair/ras-events.h diff --git a/sysSentry-1.0.2/src/c/hbm_online_repair/ras-non-standard-handler.c b/src/c/hbm_online_repair/ras-non-standard-handler.c similarity index 100% rename from sysSentry-1.0.2/src/c/hbm_online_repair/ras-non-standard-handler.c rename to src/c/hbm_online_repair/ras-non-standard-handler.c diff --git a/sysSentry-1.0.2/src/c/hbm_online_repair/ras-non-standard-handler.h b/src/c/hbm_online_repair/ras-non-standard-handler.h similarity index 100% rename from sysSentry-1.0.2/src/c/hbm_online_repair/ras-non-standard-handler.h rename to src/c/hbm_online_repair/ras-non-standard-handler.h diff --git a/sysSentry-1.0.2/src/libso/CMakeLists.txt b/src/libso/CMakeLists.txt similarity index 100% rename from sysSentry-1.0.2/src/libso/CMakeLists.txt rename to src/libso/CMakeLists.txt diff --git a/sysSentry-1.0.2/src/libso/xalarm/CMakeLists.txt b/src/libso/xalarm/CMakeLists.txt similarity index 100% rename from sysSentry-1.0.2/src/libso/xalarm/CMakeLists.txt rename to src/libso/xalarm/CMakeLists.txt diff --git a/sysSentry-1.0.2/src/libso/xalarm/register_xalarm.c b/src/libso/xalarm/register_xalarm.c similarity index 100% rename from sysSentry-1.0.2/src/libso/xalarm/register_xalarm.c rename to src/libso/xalarm/register_xalarm.c diff --git a/sysSentry-1.0.2/src/libso/xalarm/register_xalarm.h b/src/libso/xalarm/register_xalarm.h similarity index 100% rename from sysSentry-1.0.2/src/libso/xalarm/register_xalarm.h rename to src/libso/xalarm/register_xalarm.h diff --git a/sysSentry-1.0.2/src/python/sentry b/src/python/sentry similarity index 100% rename from sysSentry-1.0.2/src/python/sentry rename to src/python/sentry diff --git a/sysSentry-1.0.2/src/python/sentryCollector/__init__.py b/src/python/sentryCollector/__init__.py similarity index 100% rename from sysSentry-1.0.2/src/python/sentryCollector/__init__.py rename to src/python/sentryCollector/__init__.py diff --git a/sysSentry-1.0.2/src/python/sentryCollector/__main__.py b/src/python/sentryCollector/__main__.py similarity index 100% rename from sysSentry-1.0.2/src/python/sentryCollector/__main__.py rename to src/python/sentryCollector/__main__.py diff --git a/sysSentry-1.0.2/src/python/sentryCollector/collect_config.py b/src/python/sentryCollector/collect_config.py similarity index 100% rename from sysSentry-1.0.2/src/python/sentryCollector/collect_config.py rename to src/python/sentryCollector/collect_config.py diff --git a/sysSentry-1.0.2/src/python/sentryCollector/collect_io.py b/src/python/sentryCollector/collect_io.py similarity index 100% rename from sysSentry-1.0.2/src/python/sentryCollector/collect_io.py rename to src/python/sentryCollector/collect_io.py diff --git a/sysSentry-1.0.2/src/python/sentryCollector/collect_plugin.py b/src/python/sentryCollector/collect_plugin.py similarity index 100% rename from sysSentry-1.0.2/src/python/sentryCollector/collect_plugin.py rename to src/python/sentryCollector/collect_plugin.py diff --git a/sysSentry-1.0.2/src/python/sentryCollector/collect_server.py b/src/python/sentryCollector/collect_server.py similarity index 100% rename from sysSentry-1.0.2/src/python/sentryCollector/collect_server.py rename to src/python/sentryCollector/collect_server.py diff --git a/sysSentry-1.0.2/src/python/sentryCollector/collectd.py b/src/python/sentryCollector/collectd.py similarity index 100% rename from sysSentry-1.0.2/src/python/sentryCollector/collectd.py rename to src/python/sentryCollector/collectd.py diff --git a/sysSentry-1.0.2/src/python/sentryPlugins/__init__.py b/src/python/sentryPlugins/__init__.py similarity index 100% rename from sysSentry-1.0.2/src/python/sentryPlugins/__init__.py rename to src/python/sentryPlugins/__init__.py diff --git a/sysSentry-1.0.2/src/python/sentryPlugins/ai_block_io/README.md b/src/python/sentryPlugins/ai_block_io/README.md similarity index 100% rename from sysSentry-1.0.2/src/python/sentryPlugins/ai_block_io/README.md rename to src/python/sentryPlugins/ai_block_io/README.md diff --git a/sysSentry-1.0.2/src/python/sentryPlugins/ai_block_io/__init__.py b/src/python/sentryPlugins/ai_block_io/__init__.py similarity index 100% rename from sysSentry-1.0.2/src/python/sentryPlugins/ai_block_io/__init__.py rename to src/python/sentryPlugins/ai_block_io/__init__.py diff --git a/sysSentry-1.0.2/src/python/sentryPlugins/ai_block_io/ai_block_io.py b/src/python/sentryPlugins/ai_block_io/ai_block_io.py similarity index 100% rename from sysSentry-1.0.2/src/python/sentryPlugins/ai_block_io/ai_block_io.py rename to src/python/sentryPlugins/ai_block_io/ai_block_io.py diff --git a/sysSentry-1.0.2/src/python/sentryPlugins/ai_block_io/alarm_report.py b/src/python/sentryPlugins/ai_block_io/alarm_report.py similarity index 100% rename from sysSentry-1.0.2/src/python/sentryPlugins/ai_block_io/alarm_report.py rename to src/python/sentryPlugins/ai_block_io/alarm_report.py diff --git a/sysSentry-1.0.2/src/python/sentryPlugins/ai_block_io/config_parser.py b/src/python/sentryPlugins/ai_block_io/config_parser.py similarity index 100% rename from sysSentry-1.0.2/src/python/sentryPlugins/ai_block_io/config_parser.py rename to src/python/sentryPlugins/ai_block_io/config_parser.py diff --git a/sysSentry-1.0.2/src/python/sentryPlugins/ai_block_io/data_access.py b/src/python/sentryPlugins/ai_block_io/data_access.py similarity index 100% rename from sysSentry-1.0.2/src/python/sentryPlugins/ai_block_io/data_access.py rename to src/python/sentryPlugins/ai_block_io/data_access.py diff --git a/sysSentry-1.0.2/src/python/sentryPlugins/ai_block_io/detector.py b/src/python/sentryPlugins/ai_block_io/detector.py similarity index 100% rename from sysSentry-1.0.2/src/python/sentryPlugins/ai_block_io/detector.py rename to src/python/sentryPlugins/ai_block_io/detector.py diff --git a/sysSentry-1.0.2/src/python/sentryPlugins/ai_block_io/io_data.py b/src/python/sentryPlugins/ai_block_io/io_data.py similarity index 100% rename from sysSentry-1.0.2/src/python/sentryPlugins/ai_block_io/io_data.py rename to src/python/sentryPlugins/ai_block_io/io_data.py diff --git a/sysSentry-1.0.2/src/python/sentryPlugins/ai_block_io/sliding_window.py b/src/python/sentryPlugins/ai_block_io/sliding_window.py similarity index 100% rename from sysSentry-1.0.2/src/python/sentryPlugins/ai_block_io/sliding_window.py rename to src/python/sentryPlugins/ai_block_io/sliding_window.py diff --git a/sysSentry-1.0.2/src/python/sentryPlugins/ai_block_io/threshold.py b/src/python/sentryPlugins/ai_block_io/threshold.py similarity index 100% rename from sysSentry-1.0.2/src/python/sentryPlugins/ai_block_io/threshold.py rename to src/python/sentryPlugins/ai_block_io/threshold.py diff --git a/sysSentry-1.0.2/src/python/sentryPlugins/ai_block_io/utils.py b/src/python/sentryPlugins/ai_block_io/utils.py similarity index 100% rename from sysSentry-1.0.2/src/python/sentryPlugins/ai_block_io/utils.py rename to src/python/sentryPlugins/ai_block_io/utils.py diff --git a/sysSentry-1.0.2/src/python/sentryPlugins/avg_block_io/__init__.py b/src/python/sentryPlugins/avg_block_io/__init__.py similarity index 100% rename from sysSentry-1.0.2/src/python/sentryPlugins/avg_block_io/__init__.py rename to src/python/sentryPlugins/avg_block_io/__init__.py diff --git a/sysSentry-1.0.2/src/python/sentryPlugins/avg_block_io/avg_block_io.py b/src/python/sentryPlugins/avg_block_io/avg_block_io.py similarity index 100% rename from sysSentry-1.0.2/src/python/sentryPlugins/avg_block_io/avg_block_io.py rename to src/python/sentryPlugins/avg_block_io/avg_block_io.py diff --git a/sysSentry-1.0.2/src/python/sentryPlugins/avg_block_io/config.py b/src/python/sentryPlugins/avg_block_io/config.py similarity index 100% rename from sysSentry-1.0.2/src/python/sentryPlugins/avg_block_io/config.py rename to src/python/sentryPlugins/avg_block_io/config.py diff --git a/sysSentry-1.0.2/src/python/sentryPlugins/avg_block_io/module_conn.py b/src/python/sentryPlugins/avg_block_io/module_conn.py similarity index 100% rename from sysSentry-1.0.2/src/python/sentryPlugins/avg_block_io/module_conn.py rename to src/python/sentryPlugins/avg_block_io/module_conn.py diff --git a/sysSentry-1.0.2/src/python/sentryPlugins/avg_block_io/stage_window.py b/src/python/sentryPlugins/avg_block_io/stage_window.py similarity index 100% rename from sysSentry-1.0.2/src/python/sentryPlugins/avg_block_io/stage_window.py rename to src/python/sentryPlugins/avg_block_io/stage_window.py diff --git a/sysSentry-1.0.2/src/python/sentryPlugins/avg_block_io/utils.py b/src/python/sentryPlugins/avg_block_io/utils.py similarity index 100% rename from sysSentry-1.0.2/src/python/sentryPlugins/avg_block_io/utils.py rename to src/python/sentryPlugins/avg_block_io/utils.py diff --git a/sysSentry-1.0.2/src/python/setup.py b/src/python/setup.py similarity index 100% rename from sysSentry-1.0.2/src/python/setup.py rename to src/python/setup.py diff --git a/sysSentry-1.0.2/src/python/syssentry/__init__.py b/src/python/syssentry/__init__.py similarity index 100% rename from sysSentry-1.0.2/src/python/syssentry/__init__.py rename to src/python/syssentry/__init__.py diff --git a/sysSentry-1.0.2/src/python/syssentry/__main__.py b/src/python/syssentry/__main__.py similarity index 100% rename from sysSentry-1.0.2/src/python/syssentry/__main__.py rename to src/python/syssentry/__main__.py diff --git a/sysSentry-1.0.2/src/python/syssentry/alarm.py b/src/python/syssentry/alarm.py similarity index 100% rename from sysSentry-1.0.2/src/python/syssentry/alarm.py rename to src/python/syssentry/alarm.py diff --git a/sysSentry-1.0.2/src/python/syssentry/bmc_alarm.py b/src/python/syssentry/bmc_alarm.py similarity index 100% rename from sysSentry-1.0.2/src/python/syssentry/bmc_alarm.py rename to src/python/syssentry/bmc_alarm.py diff --git a/sysSentry-1.0.2/src/python/syssentry/callbacks.py b/src/python/syssentry/callbacks.py similarity index 100% rename from sysSentry-1.0.2/src/python/syssentry/callbacks.py rename to src/python/syssentry/callbacks.py diff --git a/sysSentry-1.0.2/src/python/syssentry/cpu_alarm.py b/src/python/syssentry/cpu_alarm.py similarity index 100% rename from sysSentry-1.0.2/src/python/syssentry/cpu_alarm.py rename to src/python/syssentry/cpu_alarm.py diff --git a/sysSentry-1.0.2/src/python/syssentry/cpu_sentry.py b/src/python/syssentry/cpu_sentry.py similarity index 100% rename from sysSentry-1.0.2/src/python/syssentry/cpu_sentry.py rename to src/python/syssentry/cpu_sentry.py diff --git a/sysSentry-1.0.2/src/python/syssentry/cron_process.py b/src/python/syssentry/cron_process.py similarity index 100% rename from sysSentry-1.0.2/src/python/syssentry/cron_process.py rename to src/python/syssentry/cron_process.py diff --git a/sysSentry-1.0.2/src/python/syssentry/global_values.py b/src/python/syssentry/global_values.py similarity index 100% rename from sysSentry-1.0.2/src/python/syssentry/global_values.py rename to src/python/syssentry/global_values.py diff --git a/sysSentry-1.0.2/src/python/syssentry/heartbeat.py b/src/python/syssentry/heartbeat.py similarity index 100% rename from sysSentry-1.0.2/src/python/syssentry/heartbeat.py rename to src/python/syssentry/heartbeat.py diff --git a/sysSentry-1.0.2/src/python/syssentry/load_mods.py b/src/python/syssentry/load_mods.py similarity index 100% rename from sysSentry-1.0.2/src/python/syssentry/load_mods.py rename to src/python/syssentry/load_mods.py diff --git a/sysSentry-1.0.2/src/python/syssentry/mod_status.py b/src/python/syssentry/mod_status.py similarity index 100% rename from sysSentry-1.0.2/src/python/syssentry/mod_status.py rename to src/python/syssentry/mod_status.py diff --git a/sysSentry-1.0.2/src/python/syssentry/result.py b/src/python/syssentry/result.py similarity index 100% rename from sysSentry-1.0.2/src/python/syssentry/result.py rename to src/python/syssentry/result.py diff --git a/sysSentry-1.0.2/src/python/syssentry/sentry_config.py b/src/python/syssentry/sentry_config.py similarity index 100% rename from sysSentry-1.0.2/src/python/syssentry/sentry_config.py rename to src/python/syssentry/sentry_config.py diff --git a/sysSentry-1.0.2/src/python/syssentry/sentryctl b/src/python/syssentry/sentryctl similarity index 100% rename from sysSentry-1.0.2/src/python/syssentry/sentryctl rename to src/python/syssentry/sentryctl diff --git a/sysSentry-1.0.2/src/python/syssentry/syssentry.py b/src/python/syssentry/syssentry.py similarity index 100% rename from sysSentry-1.0.2/src/python/syssentry/syssentry.py rename to src/python/syssentry/syssentry.py diff --git a/sysSentry-1.0.2/src/python/syssentry/task_map.py b/src/python/syssentry/task_map.py similarity index 100% rename from sysSentry-1.0.2/src/python/syssentry/task_map.py rename to src/python/syssentry/task_map.py diff --git a/sysSentry-1.0.2/src/python/syssentry/utils.py b/src/python/syssentry/utils.py similarity index 100% rename from sysSentry-1.0.2/src/python/syssentry/utils.py rename to src/python/syssentry/utils.py diff --git a/sysSentry-1.0.2/src/python/xalarm/__init__.py b/src/python/xalarm/__init__.py similarity index 100% rename from sysSentry-1.0.2/src/python/xalarm/__init__.py rename to src/python/xalarm/__init__.py diff --git a/sysSentry-1.0.2/src/python/xalarm/register_xalarm.py b/src/python/xalarm/register_xalarm.py similarity index 100% rename from sysSentry-1.0.2/src/python/xalarm/register_xalarm.py rename to src/python/xalarm/register_xalarm.py diff --git a/sysSentry-1.0.2/src/python/xalarm/sentry_notify.py b/src/python/xalarm/sentry_notify.py similarity index 100% rename from sysSentry-1.0.2/src/python/xalarm/sentry_notify.py rename to src/python/xalarm/sentry_notify.py diff --git a/sysSentry-1.0.2/src/python/xalarm/xalarm_api.py b/src/python/xalarm/xalarm_api.py similarity index 100% rename from sysSentry-1.0.2/src/python/xalarm/xalarm_api.py rename to src/python/xalarm/xalarm_api.py diff --git a/sysSentry-1.0.2/src/python/xalarm/xalarm_config.py b/src/python/xalarm/xalarm_config.py similarity index 100% rename from sysSentry-1.0.2/src/python/xalarm/xalarm_config.py rename to src/python/xalarm/xalarm_config.py diff --git a/sysSentry-1.0.2/src/python/xalarm/xalarm_daemon.py b/src/python/xalarm/xalarm_daemon.py similarity index 100% rename from sysSentry-1.0.2/src/python/xalarm/xalarm_daemon.py rename to src/python/xalarm/xalarm_daemon.py diff --git a/sysSentry-1.0.2/src/python/xalarm/xalarm_server.py b/src/python/xalarm/xalarm_server.py similarity index 100% rename from sysSentry-1.0.2/src/python/xalarm/xalarm_server.py rename to src/python/xalarm/xalarm_server.py diff --git a/sysSentry-1.0.2/src/python/xalarm/xalarm_transfer.py b/src/python/xalarm/xalarm_transfer.py similarity index 100% rename from sysSentry-1.0.2/src/python/xalarm/xalarm_transfer.py rename to src/python/xalarm/xalarm_transfer.py diff --git a/sysSentry-1.0.2/README b/sysSentry-1.0.2/README deleted file mode 100644 index 877f051..0000000 --- a/sysSentry-1.0.2/README +++ /dev/null @@ -1,33 +0,0 @@ -# sysSentry 介绍 -sysSentry是一款故障巡检框架,为用户提供在后台进行故障巡检的能力;sysSentry通过提前发现系统中的软硬件故障并及时通知系统运维人员处理的方式,达到减少故障演变为现网事故、提升系统可靠性的目标。 - -## 一、安装sysSentry -```bash -yum install -y sysSentry xalarm libxalarm -``` - -## 二、快速使用指南 - -1、启动巡检框架 -```bash -systemctl start sysSentry -systemctl start xalarmd - -### 执行成功后可通过status命令查看状态为running -systemctl status sysSentry -systemctl status xalarmd -``` - -2、使用sentryctl命令管理框架 -```bash -### 启动指定巡检任务 -sentryctl start -### 终止指定巡检任务 -sentryctl stop -### 列出所有已加载的巡检任务及当前状态 -sentryctl list -### 查询指定巡检任务状态 -sentryctl status -### 重载指定任务配置 -sentryctl reload -``` \ No newline at end of file diff --git a/sysSentry-1.0.2/RELEASE-NOTES.md b/sysSentry-1.0.2/RELEASE-NOTES.md deleted file mode 100644 index 6aa5f4a..0000000 --- a/sysSentry-1.0.2/RELEASE-NOTES.md +++ /dev/null @@ -1,3 +0,0 @@ -## 1.0.0 - -1. Initial version diff --git a/sysSentry-1.0.2/src/c/hbm_online_repair/.gitignore b/sysSentry-1.0.2/src/c/hbm_online_repair/.gitignore deleted file mode 100644 index a577882..0000000 --- a/sysSentry-1.0.2/src/c/hbm_online_repair/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -*.o -*.c~ -*.h~ -hbm_online_repair - -.vscode/ diff --git a/sysSentry-1.0.2/src/python/.gitignore b/sysSentry-1.0.2/src/python/.gitignore deleted file mode 100644 index 58200d4..0000000 --- a/sysSentry-1.0.2/src/python/.gitignore +++ /dev/null @@ -1 +0,0 @@ -__pycache__/ -- Gitee