修改名称

This commit is contained in:
halliday 2024-01-31 09:21:11 +08:00
parent 8bf3cb16d7
commit 5fd87d85c0
3 changed files with 10 additions and 5 deletions

View File

@ -85,16 +85,22 @@ echo "-----------" >>$ROOT_DIR/check_report.txt
# 需要检查的代理 # 需要检查的代理
# mh # mh
check_sucessful "6.9长期mh_MySQL定时备份_13.167" "811da1a9258bb690d58aaef5aa958027" "长期任务-mysql物理多通道" echo "===========mh================" >>$ROOT_DIR/check_report.txt
#check_sucessful "6.9长期mh_MySQL定时备份_13.167" "811da1a9258bb690d58aaef5aa958027" "长期任务-mysql物理多通道"
check_sucessful "6.9长期mh_MySQL定时备份_13.167" "124f3e5397ec196ae43f71d188450845" "长期任务-mysql物理多通道"
check_sucessful "6.9长期mh_OraclePhysical定时备份_29.41" "effbff8590c4c69a33151fa4d4fff2e1" "长期Oracle多通道" check_sucessful "6.9长期mh_OraclePhysical定时备份_29.41" "effbff8590c4c69a33151fa4d4fff2e1" "长期Oracle多通道"
check_sucessful "6.9长期mh_系统定时备份_29.33" "bd22ea57feecb5a7f96e67035c204e02" "长期系统" check_sucessful "6.9长期mh_系统定时备份_29.33" "bd22ea57feecb5a7f96e67035c204e02" "长期系统"
# ypy # ypy
echo -e "\n===========ypy===============" >>$ROOT_DIR/check_report.txt
check_sucessful "6.9长期MySQLCDM_linux_29.48_ypy" "50061b4e4f80fa802067209eb18a232f" "长期" check_sucessful "6.9长期MySQLCDM_linux_29.48_ypy" "50061b4e4f80fa802067209eb18a232f" "长期"
check_sucessful "6.9长期OracleCDM备份_linux_29.40_ypy" "46117564f229b9b7f407b21aa5d7fa1c" "长期" check_sucessful "6.9长期OracleCDM备份_linux_29.40_ypy" "46117564f229b9b7f407b21aa5d7fa1c" "长期"
check_sucessful "6.9长期分区_WIN_29.47_ypy" "d9f991a83017a2b4ad9161044f5fca8f" "长期" check_sucessful "6.9长期分区_WIN_29.47_ypy" "d9f991a83017a2b4ad9161044f5fca8f" "长期"
check_sucessful "6.9长期OracleCLP备份_rac_ypy" "2737975f-15c3-4716-968a-fc8ab2e9f1fc" "长期"
#zry #zry
echo -e "\n===========zry===============" >>$ROOT_DIR/check_report.txt
check_sucessful "6.9长期定时文件29.49_zry" "b1b4c1d1b276265ae78914f350e29f96" "多通道" check_sucessful "6.9长期定时文件29.49_zry" "b1b4c1d1b276265ae78914f350e29f96" "多通道"
check_sucessful "6.9长期定时文件29.49_zry" "b1b4c1d1b276265ae78914f350e29f96" "普通" check_sucessful "6.9长期定时文件29.49_zry" "b1b4c1d1b276265ae78914f350e29f96" "普通"
check_sucessful "6.9长期副本文件CDM备份29.42_zry" "55037758a2f200826bff0061d6dbdb91" "文件CDM" check_sucessful "6.9长期副本文件CDM备份29.42_zry" "55037758a2f200826bff0061d6dbdb91" "文件CDM"
@ -102,9 +108,8 @@ check_sucessful "6.9长期副本文件CDM备份29.42_zry" "55037758a2f200826bf
check_sucessful "6.9长期VMware备份_zry" "11BBF49B7B6E4CD4A079CD33BDB5F29F" "VMware长期" check_sucessful "6.9长期VMware备份_zry" "11BBF49B7B6E4CD4A079CD33BDB5F29F" "VMware长期"
check_sucessful "6.9长期openstack备份" "76CAB9108D8747548805A209D77A9370" "长期" check_sucessful "6.9长期openstack备份" "76CAB9108D8747548805A209D77A9370" "长期"
echo "开始发送邮件" echo "开始发送邮件"
python $ROOT_DIR/SendCheckJobReport.py python $ROOT_DIR/SendEmail.py

View File

@ -9,9 +9,9 @@
例如: 例如:
check_sucessful "6.9长期mh_MySQL定时备份_13.167" "811da1a9258bb690d58aaef5aa958027" "长期任务-mysql物理多通道" check_sucessful "6.9长期mh_MySQL定时备份_13.167" "811da1a9258bb690d58aaef5aa958027" "长期任务-mysql物理多通道"
2. 修改SendCheckJobReport.py指定收发件人的邮件地址 2. 修改SendEmail.py指定收发件人的邮件地址
3. 将check_job_sucessful.sh和SendCheckJobReport.py上传到服务器 3. 将check_job_sucessful.sh和SendEmail.py上传到服务器
4. 试运行一下脚本,看是否能正常运行 4. 试运行一下脚本,看是否能正常运行
bash check_job_sucessful.sh bash check_job_sucessful.sh