Update nodemgmt-scripts.sh

This commit is contained in:
2023-11-08 22:41:29 -06:00
parent b4859a7fce
commit 50bf0ee648

View File

@@ -719,14 +719,14 @@ DOWNLIST(){
echo -e "${idsCL[LightGreen]}Current List of Items Down...${idsCL[Default]}" echo -e "${idsCL[LightGreen]}Current List of Items Down...${idsCL[Default]}"
DIVIDER false yellow 95 DIVIDER false yellow 95
if [ "${1}" != "ignore" ]; then if [ "${1}" != "ignore" ]; then
echo -e "${idsCL[Yellow]}Service/Host Host Down_Time${idsCL[Default]}" echo -e "${idsCL[Yellow]}Service/Host Host Down_Time${idsCL[Default]}"
else else
echo -e "${idsCL[Yellow]} Service/Host Host Down_Time Notifications${idsCL[Default]}" echo -e "${idsCL[Yellow]} Service/Host Host Down_Time Notifications${idsCL[Default]}"
fi fi
DIVIDER false yellow 95 DIVIDER false yellow 95
until [ "${choice^^}" = "D" ]; do until [ "${choice^^}" = "D" ]; do
cw=40; cw2=30; is=1; cw=35; cw2=20; is=1;
for downitem in ${DOWNLIST[@]}; do for downitem in ${DOWNLIST[@]}; do
ditem=${downitem##*/} ditem=${downitem##*/}
ditem=${ditem//.down} ditem=${ditem//.down}