Skip to content

Commit

Permalink
fix(mongodb): 迁移元数据关闭老的dbmon脚本修复 #8159
Browse files Browse the repository at this point in the history
  • Loading branch information
yyhenryyy authored and iSecloud committed Nov 25, 2024
1 parent 2700a73 commit 845e521
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions dbm-ui/backend/flow/utils/mongodb/mongodb_script_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,5 @@ def prepare_recover_dir_script(dest_dir: str) -> str:
/home/mysql/filebeat-deploy/remove
/home/mysql/filebeat-deploy/stop_watcher
/home/mysql/filebeat-deploy/stop_filebeat
num=`pgrep prome_exporter_manager |wc -l`
if [[ $num > 0 ]]; then
killall -9 prome_exporter_manager
fi
killall -9 prome_exporter_manager | echo true
"""

0 comments on commit 845e521

Please sign in to comment.