diff --git a/dsmon.sh b/dsmon.sh index 671e666..04dd085 100755 --- a/dsmon.sh +++ b/dsmon.sh @@ -111,9 +111,11 @@ CHECK(){ checkhost=$(CHECK_HOST ${host_ip[$hostid]}) if [ "${checkhost}" != "false" ]; then + for hl in (${host_limits[${hostid}]}); do + echo $hl + done + - #echo ${host_limits[${hostid}]} - 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 }')