Update dsmon.sh

This commit is contained in:
2024-01-26 09:02:00 -06:00
parent 2b1dd35999
commit f4b4bc2a4d

View File

@@ -402,6 +402,7 @@ UPDATENODES(){
declare -A host_name
while read hostid hostname hostip hostlimits; do
echo "${hostid} - ${host} - ${hostname}"
if [ "$hostid" != "id" ]; then
echo -e "${idsCL[LightCyan]}Updating DSMON on '${hostname}'${idsCL[Default]}"
ssh -tq -o ConnectTimeout=1 -o ConnectionAttempts=1 root@$(echo $hostip | cut -d ";" -f1) "dsmon update"