From b0f0890b30013ae9deddb359daa2257d7d3490cc Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 22 May 2023 22:13:06 -0500 Subject: [PATCH] Update status.inc --- inc/status.inc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/inc/status.inc b/inc/status.inc index 715ac794..f6d585cd 100755 --- a/inc/status.inc +++ b/inc/status.inc @@ -46,9 +46,10 @@ STATUS(){ if [ "${ST_ACTION}" != "check" ]; then lip=$(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) uptime=`uptime -p` - echo -e "${idsST[Bold]}"; DIVIDER + echo + DIVIDER echo -e "${idsCL[Yellow]} ${NODE_HOSTNAME} Service Status -localhost-${idsCL[Default]}" - DIVIDER; echo -e "${idsST[Reset]}" + DIVIDER echo -e " ${idsCL[LightCyan]}${uptime}${idsCL[Default]}" fi # if [ "${ST_ACTION}" != "check" ]; then @@ -517,7 +518,7 @@ STATUS(){ ########################## if [ "${ST_ACTION}" = "report" ] || [ "${ST_ACTION}" = "repl" ] || [ "${ST_ACTION}" = "check" ] || [ "${ST_ACTION}" = "" ]; then if [ "${ST_ACTION}" != "check" ]; then - echo -en "${idsCL[LightCyan]}Cleaning up status checks... ${idsCL[Default]}" + echo -en "${idsCL[LightCyan]} Cleaning up status checks... ${idsCL[Default]}" fi #NHCMD="ssh root@${MYSQL_HOSTS[0]}" #LBHCMD="ssh root@${LB_HOSTS[0]}"