diff --git a/defaults.inc b/defaults.inc index 2a063f0..102f0bd 100755 --- a/defaults.inc +++ b/defaults.inc @@ -1,6 +1,6 @@ #!/usr/bin/env bash -VERS=2.3.39-02282025 +VERS=2.3.40-03282025 DS_FOLDER=/opt/idssys/dsmon DS_CRONTAB_FOLDER=/opt/idssys/nodemgmt/crontabs diff --git a/dsmon.sh b/dsmon.sh index d596ccb..ef2dec2 100755 --- a/dsmon.sh +++ b/dsmon.sh @@ -395,7 +395,7 @@ RUNCMD_SUB(){ if ssh_output=$(ssh -tq -o ConnectTimeout=5 -o ConnectionAttempts=1 root@${ip} ${3} ${4} ${5} ${6} ${7} ${8} ${9} ${10} ${11} ${12} ${13} ${14} ${15} ${16} ${17} ${18} ${19} ${20} ${21} ${22}) ; then echo -e "${ssh_output}" >> ${tmpfile}.running else - echo -e "${idsCL[Red]} ${host} - Timeout${idsCL[Default]}" >> ${tmpfile}.running + echo -e "${idsCL[Red]} ${host} [${ip}] - Timeout${idsCL[Default]}" >> ${tmpfile}.running fi mv ${tmpfile}.running ${tmpfile}.done > /dev/null 2>&1 }