Update dsmon.sh
This commit is contained in:
2
dsmon.sh
2
dsmon.sh
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user