diff --git a/defaults.inc b/defaults.inc index dbcbecba..3ff595a8 100755 --- a/defaults.inc +++ b/defaults.inc @@ -1,6 +1,6 @@ #!/usr/bin/env bash -VERS='4.6.3-04302023' +VERS='4.6.5-04302023' #NODETYPES=WEB,LB NODETYPES=MYSQL,LB,WEB,NC,WPD,LPD,MM,PW diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index e183e4fb..d1395f59 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -426,7 +426,7 @@ STATUS(){ echo -e "${idsCL[Yellow]} Replication Status Between the Primary and Secondary Nodes${idsCL[Default]}" DIVIDER; echo -e "${idsST[Reset]}" fi - echo "$(date) - TIMEOUT - ${rcheck} - $(SHOW_TIME $(`expr date +%s - $replstart`) s)" >> ${FOLDER}/log.repl + echo "$(date) - START - ${rcheck} - $(SHOW_TIME $(expr `date +%s` - $replstart) s)" >> ${FOLDER}/log.repl for NTYPE in "${NODE_TYPES[@]}"; do PH=${NTYPE}_HOSTS[0] PH_CMD="ssh root@${!PH}"