how to extend timeout value for executing remote command on script monitor in sitescope
I built a script monitor to send remote command to remote server. it failed to execute the command: /home/dsb/bin/alert_logsurf;echo "all done" on remote: xxxx.com, timeout
I checked runmonitor.log and got the below error:
Mon Mar 11 15:48:35 CET 2013 Connection timed out(V2) com.mercury.sitescope.util.ssh.exception.SSHV2TimedOutException: Reading from server timed out. Time spent on reading = 60001 threshold = 60000 Reading from server timed out. Time spent on reading = 60001 threshold = 60000
The SSH connection has no problem.
The time to execute the command is long, more than 70 sec.
How to extend the threashold (currently it is 60 sec according to the log) ?
BTW, I have tried, the setting in general preference->ssh preference doesn't work for this case.