Update nodemgmt-scripts.sh

This commit is contained in:
2019-02-07 13:49:13 -06:00
parent 23a11ccfb0
commit 5f4ae4f416

View File

@@ -145,6 +145,7 @@ STATUS() {
}
STATUS-CHECK(){
start=`date +%s`
if [ "${STATUS_CHECK_EMAIL}" != "" ]; then
if [ ! -z ${LOCAL_SERVICES+x} ]; then NCMD='ssh root@10.5.10.51'
else NCMD=''; fi
@@ -227,6 +228,9 @@ STATUS-CHECK(){
nid=`expr $nid + 1`
done
fi
end=`date +%s`
runtime=$((end-start))
echo "runtime: ${runtime}"
}
NEWCERT(){