diff --git a/handler/checker/tasks/observer/cluster/sys_log_level.yaml b/handler/checker/tasks/observer/cluster/sys_log_level.yaml index 1d67338c..1063d34e 100644 --- a/handler/checker/tasks/observer/cluster/sys_log_level.yaml +++ b/handler/checker/tasks/observer/cluster/sys_log_level.yaml @@ -6,9 +6,8 @@ task: sql: 'SELECT value FROM oceanbase.__all_virtual_sys_parameter_stat where name like "%syslog_level%";' result: set_value: sys_log_level - verify_type: equal report_type: warning - verify: '[[ ${sys_log_level} == "WDIAG"]]' + verify: '[[ $sys_log_level == "WDIAG" ]]' err_msg: "on 4.x, the recommended value for sys_log_level is WDIAG" - version: "[3.0.0,4.0.0.0)" @@ -17,7 +16,6 @@ task: sql: 'SELECT value FROM oceanbase.__all_virtual_sys_parameter_stat where name like "%syslog_level%";' result: set_value: sys_log_level - verify_type: equal report_type: warning - verify: '[[ ${sys_log_level} == "INFO"]]' + verify: '[[ $sys_log_level == "INFO" ]]' err_msg: "on 3.x, the recommended value for sys_log_level is INFO" diff --git a/handler/checker/tasks/observer/system/core_pattern.yaml b/handler/checker/tasks/observer/system/core_pattern.yaml index ba0e3f9a..a226347f 100644 --- a/handler/checker/tasks/observer/system/core_pattern.yaml +++ b/handler/checker/tasks/observer/system/core_pattern.yaml @@ -5,7 +5,5 @@ task: parameter: kernel.core_pattern result: set_value: core_pattern - verify: "[[ $core_pattern == *" "* ]]" + verify: '[[ $core_pattern == *" "* ]]' err_msg: 'clock_source: #{clock_source}. recommended: tsc. Uneven CPU utilization during pressure testing resulted in low TPS during pressure testing' - -