Update nodemgmt-scripts.sh

This commit is contained in:
2022-07-24 17:23:52 -05:00
parent 38f59ab010
commit 127833f113

View File

@@ -1854,8 +1854,7 @@ DOWNLIST(){
if [[ $ditem == *"-"* ]]; then item=${NM_SERVICES[${ditem#*-}]};
else item='HOST DOWN'; fi
echo "HERE: ${FOLDER}/${ditem}.errtime"
#toterrtime=`date +%s`-$(stat -c %Y ${FOLDER}/${ditem}.errtime)
toterrtime=`date +%s`-$(stat -c %Y ${FOLDER}/${ditem}.errtime)
c=0; spc=''
spc1=${cw}-${#item}