Update dsmon.sh

This commit is contained in:
2025-06-14 11:19:02 -05:00
parent ff27ca0e78
commit 110dd001b1

View File

@@ -111,7 +111,7 @@ CHECK(){
c=0; cw=${C_CW}; spc=''; spc1=$(expr ${cw} - ${#MSG}); until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
echo -en "${idsCL[LightCyan]}${MSG}${spc}: "
fi
if [ -n "$NTS" ] && [ "${1}" != "report" ]; then
if [ -n "${1}" ] && [ "${1}" != "report" ]; then
while read hostid hostname hostip hostlimits; do
if [ "$hostid" != "id" ]; then
hostip=$(echo $hostip | cut -d ";" -f1)