Update status.new.inc
This commit is contained in:
@@ -693,7 +693,6 @@ STATUS_NODE(){
|
|||||||
touch ${NM_TMPFOLDER}/${nip}.down
|
touch ${NM_TMPFOLDER}/${nip}.down
|
||||||
# [ ! -f ${NM_TMPFOLDER}/${nip}.errtime ] && touch ${NM_TMPFOLDER}/${nip}.errtime
|
# [ ! -f ${NM_TMPFOLDER}/${nip}.errtime ] && touch ${NM_TMPFOLDER}/${nip}.errtime
|
||||||
if [ "${ST_ACTION}" != "check" ]; then
|
if [ "${ST_ACTION}" != "check" ]; then
|
||||||
toterrtime=$(expr $(date +%s) - $(stat -c %Y ${NM_TMPFOLDER}/${nip}.errtime))
|
|
||||||
if [ "${checkhost}" != "false" ]; then
|
if [ "${checkhost}" != "false" ]; then
|
||||||
echo -e "${idsCL[Red]} - Node is online, but SSL is down!${idsCL[Default]}"
|
echo -e "${idsCL[Red]} - Node is online, but SSL is down!${idsCL[Default]}"
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user