Update dsmon.sh

This commit is contained in:
2023-01-02 11:07:47 -06:00
parent 73e085f9d3
commit d3b1e06de3

View File

@@ -113,7 +113,8 @@ CHECK(){
if [ "${checkhost}" != "false" ]; then
#echo ${host_limits[${hostid}]}
for x in "${!host_limits[${hostid}][@]}"; do printf "[%s]=%s\n" "$x" "${host_limits[${hostid}][$x]}" ; done
hostlimits=(${host_limits[${hostid}]})
for x in "${!hostlimits[@]}"; do printf "[%s]=%s\n" "$x" "${hostlimits[$x]}" ; done
# DRIVEINFO=$(ssh root@${host_ip[$hostid]} df -BM | grep -vE '^Filesystem|tmpfs|cdrom|@|ram|loop|udev|veeamimage|nvme|localhost|shm|mmcblk|overlay|-volume|Music|media-data|Software' | awk '{ print $1 " " $2 " " $4 }')
# DRIVEINFO=(${DRIVEINFO})