Update nodemgmt-scripts.sh
This commit is contained in:
@@ -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=''
|
||||
|
||||
Reference in New Issue
Block a user