Skip to content

Commit 8d2df7d

Browse files
authored
Merge pull request #1093 from hmcts/djporta-patch-1
Update ams-reporting.sh
2 parents 33043e1 + cec4560 commit 8d2df7d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/ams-reporting.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ done < ${OPDIR}confiscation_mets
584584
if [[ `echo $met_recon_errors_list` ]];then
585585
echo "$(date "+%d/%m/%Y %T"),AZDB_overall_confiscation_recon_status,Get DBAs to check for missing data as these METs have not seen a successful rec in 4 days: $met_recon_errors_list,warn" >> $OUTFILE
586586
elif [[ $no_good_result == 1 ]];then
587-
echo "$(date "+%d/%m/%Y %T"),AZDB_overall_confiscation_recon_status,Azure rec has not run in last 4 days due to Oracle updates during recon,ok" >> $OUTFILE
587+
echo "$(date "+%d/%m/%Y %T"),AZDB_overall_confiscation_recon_status,Azure rec has not run in last 4 days due to Oracle updates during recon,warn" >> $OUTFILE
588588
else
589589
echo "$(date "+%d/%m/%Y %T"),AZDB_overall_confiscation_recon_status,All METs have seen a successful rec in the last 4 days,ok" >> $OUTFILE
590590
fi
@@ -606,7 +606,7 @@ done < ${OPDIR}fines_mets
606606
if [[ `echo $met_recon_errors_list` ]];then
607607
echo "$(date "+%d/%m/%Y %T"),AZDB_overall_fines_recon_status,Get DBAs to check for missing data as these METs have not seen a successful rec in 4 days: $met_recon_errors_list,warn" >> $OUTFILE
608608
elif [[ $no_good_result == 1 ]];then
609-
echo "$(date "+%d/%m/%Y %T"),AZDB_overall_fines_recon_status,Azure rec has not run in last 4 days due to Oracle updates during recon,ok" >> $OUTFILE
609+
echo "$(date "+%d/%m/%Y %T"),AZDB_overall_fines_recon_status,Azure rec has not run in last 4 days due to Oracle updates during recon,warn" >> $OUTFILE
610610
else
611611
echo "$(date "+%d/%m/%Y %T"),AZDB_overall_fines_recon_status,All METs have seen a successful rec in the last 4 days,ok" >> $OUTFILE
612612
fi
@@ -628,7 +628,7 @@ done < ${OPDIR}maintenance_mets
628628
if [[ `echo $met_recon_errors_list` ]];then
629629
echo "$(date "+%d/%m/%Y %T"),AZDB_overall_maintenance_recon_status,Get DBAs to check for missing data as these METs have not seen a successful rec in 4 days: $met_recon_errors_list,warn" >> $OUTFILE
630630
elif [[ $no_good_result == 1 ]];then
631-
echo "$(date "+%d/%m/%Y %T"),AZDB_overall_maintenance_recon_status,Azure rec has not run in last 4 days due to Oracle updates during recon,ok" >> $OUTFILE
631+
echo "$(date "+%d/%m/%Y %T"),AZDB_overall_maintenance_recon_status,Azure rec has not run in last 4 days due to Oracle updates during recon,warn" >> $OUTFILE
632632
else
633633
echo "$(date "+%d/%m/%Y %T"),AZDB_overall_maintenance_recon_status,All METs have seen a successful rec in the last 4 days,ok" >> $OUTFILE
634634
fi

0 commit comments

Comments
 (0)