Update nodemgmt-scripts.sh

This commit is contained in:
2022-07-24 17:22:11 -05:00
parent b2e680f454
commit ed69a95311

View File

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