Update status.inc
This commit is contained in:
@@ -417,7 +417,7 @@ STATUS(){
|
||||
[ "${checkhostssl}" != "ok" ] && echo "$(date +%Y-%m-%d-%H-%M-%S) - ${nip} - ${NM_HOSTNAMES[${nip}]}[${nip}] - Node is down" >> ${NM_LOGFILE}
|
||||
else
|
||||
if [ ! -f ${NM_TMPFOLDER}/${nip}.errtime ]; then
|
||||
|
||||
tmp=tmp
|
||||
fi
|
||||
toterrtime=$(expr $(date +%s) - $(stat -c %Y ${NM_TMPFOLDER}/${nip}.errtime))
|
||||
errtime=$(expr $(date +%s) - $(stat -c %Y ${NM_TMPFOLDER}/${nip}.down))
|
||||
|
||||
Reference in New Issue
Block a user