From 65af05cd261afe5b5040093b24a410269bdb4b1a Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 11 Jun 2025 07:37:03 -0500 Subject: [PATCH] Update dsmon.sh --- dsmon.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dsmon.sh b/dsmon.sh index a56c6e7..a778bf2 100755 --- a/dsmon.sh +++ b/dsmon.sh @@ -360,7 +360,7 @@ RUNCMD(){ while read hostid hostname hostip hostlimits; do if [ "${hostname}" != "host" ]; then - RUNCMD_SUB $(echo ${hostip} | cut -d ";" -f1) ${hostname} ${1} ${2} ${3} ${4} ${5} ${6} ${7} ${8} ${9} ${10} ${11} ${12} ${13} ${14} ${15} ${16} ${17} ${18} ${19} ${20} & + [ "${hostip}" != "10.10.10.60" ] && RUNCMD_SUB $(echo ${hostip} | cut -d ";" -f1) ${hostname} ${1} ${2} ${3} ${4} ${5} ${6} ${7} ${8} ${9} ${10} ${11} ${12} ${13} ${14} ${15} ${16} ${17} ${18} ${19} ${20} & ((ncount++)) fi done <<< $(MYSQL_PWD="sysmoninsert" ${mysqlcmd} ${mysql_conn} -u sysmoninsert -e "SELECT id,host,ip,limits FROM servermonitor.hosts WHERE disabled=0 ORDER BY host ASC")