Update status.inc
This commit is contained in:
@@ -25,6 +25,7 @@ STATUS(){
|
||||
PRI_CW=40
|
||||
LD_CW=62
|
||||
DV_LEN=80
|
||||
SV_LEN=55
|
||||
declare -i cw; declare -i spc1; declare -i c
|
||||
|
||||
|
||||
@@ -509,7 +510,7 @@ STATUS_NODE(){
|
||||
########################
|
||||
if [ "${STATUS_ACTION}" != "dockers" ] && [ "${NM_SERVICES_CHECK[${NODETYPE}]}" != "" ]; then
|
||||
echo -e "${idsCL[Green]} System Service(s) Status${idsCL[Default]}"
|
||||
DIVIDER false green `expr ${DV_LEN} - 10`
|
||||
DIVIDER false green ${SV_LEN}
|
||||
|
||||
srvcs=${NODETYPE}_SERVICES_CHECK[@];
|
||||
srvcstotest="$(join_by " " ${!srvcs})"
|
||||
@@ -616,7 +617,7 @@ STATUS_NODE(){
|
||||
if [ "${STATUS_ACTION}" != "check" ]; then
|
||||
[ "${STATUS_ACTION}" == "" ] && [ "${NM_SERVICES_CHECK[${NODETYPE}]}" != "" ] && echo
|
||||
echo -e "${idsCL[Green]} Docker Service(s) Status${idsCL[Default]}"
|
||||
DIVIDER false green `expr ${DV_LEN} - 10`
|
||||
DIVIDER false green ${SV_LEN}
|
||||
fi
|
||||
for docker in "${!dockers}"; do
|
||||
if [ "${STATUS_ACTION}" != "report" ]; then
|
||||
|
||||
Reference in New Issue
Block a user