Update dsmon.sh

This commit is contained in:
2023-01-02 14:36:41 -06:00
parent aa46a9e82e
commit 89fee99457

View File

@@ -228,14 +228,13 @@ CHECK(){
unset DRIVEINFO_TOT DRIVEINFO_FREE DRIVEINFO_FREEPER DRIVES DRIVEINFO host_limits_tmp unset DRIVEINFO_TOT DRIVEINFO_FREE DRIVEINFO_FREEPER DRIVES DRIVEINFO host_limits_tmp
else else
[ "${1}" != "report" ] && echo -e "${idsCL[Yellow]} ${host_name[$hostid]} is down${idsCL[Default]}" [ "${1}" != "report" ] && echo -e "${idsCL[Yellow]} ${host_name[$hostid]} is down${idsCL[Default]}"; echo
fi fi
done done
end=`date +%s` end=`date +%s`
runtime=$((end-start)) runtime=$((end-start))
echo
echo "runtime: ${runtime}" echo "runtime: ${runtime}"
} }