This commit is contained in:
2023-04-26 15:16:55 -05:00
parent b61091ed37
commit 299f4f9461
2 changed files with 3 additions and 3 deletions

View File

@@ -1,9 +1,9 @@
#!/usr/bin/env bash #!/usr/bin/env bash
VERS='4.3.27-04262023' VERS='4.3.28-04262023'
NODETYPES=LB NODETYPES=LB
# NODETYPES=MYSQL,LB,WEB,NC,WPD,LPD,PW NODETYPES=MYSQL,LB,WEB,NC,WPD,LPD,PW
MYSQLHOSTS=10.10.1.51,10.10.1.52 MYSQLHOSTS=10.10.1.51,10.10.1.52
WEBHOSTS=10.10.1.121,10.10.1.122 WEBHOSTS=10.10.1.121,10.10.1.122
LBHOSTS=10.10.10.81,10.10.10.82 LBHOSTS=10.10.10.81,10.10.10.82

View File

@@ -561,7 +561,7 @@ STATUS(){
DIVIDER false green DIVIDER false green
fi fi
[ "${ST_ACTION}" != "check" ] && echo -en " ${idsCL[LightCyan]}Gathering drive data from server ... ${idsCL[Default]}" [ "${ST_ACTION}" != "check" ] && echo -en " ${idsCL[LightCyan]}Getting drives from server ... ${idsCL[Default]}"
declare -A partitions declare -A partitions
partitions=`${NCMD} df -hBM | grep -vE '^Filesystem|tmpfs|cdrom|loop|overlay|shm|-volume|Music|media-data|Software' | awk '{ print $5 " " $1 }' | while read output; do echo $output | awk '{ print $2 }'; done;` partitions=`${NCMD} df -hBM | grep -vE '^Filesystem|tmpfs|cdrom|loop|overlay|shm|-volume|Music|media-data|Software' | awk '{ print $5 " " $1 }' | while read output; do echo $output | awk '{ print $2 }'; done;`
partitions2=`echo ${partitions[*]}` partitions2=`echo ${partitions[*]}`