diff --git a/dsmon.sh b/dsmon.sh index 246ece4..e82e738 100755 --- a/dsmon.sh +++ b/dsmon.sh @@ -117,7 +117,7 @@ CHECK(){ echo -en "${idsCL[LightCyan]}${MSG}${spc}: " fi if [ -n "${1}" ] && [ "${1}" != "report" ]; then - while read hostid hostname hostip hostlimits; do + while read hostid hostname hostname_full hostip hostlimits; do if [ "$hostid" != "id" ]; then hostip=$(echo $hostip | cut -d ";" -f1) # echo "$hostid - $hostip - $hostname - $hostlimits"