how to extend timeout value for executing remote command on script monitor in sitescope (419 Views)
Reply
Occasional Advisor
NanNan_2
Posts: 14
Registered: ‎05-05-2010
Message 1 of 6 (419 Views)
Accepted Solution

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.

Respected Contributor
dcsbeemer
Posts: 299
Registered: ‎07-19-2011
Message 2 of 6 (403 Views)

Re: how to extend timeout value for executing remote command on script monitor in sitescope

Hi NanNan_2

 

 

I just had a quick dig through the master.config file on this end, the following seems like it might have something to do with your error:

 

_serverReadRefresh=60000

_processPoolKillTimeout=60000

 

 

The following might be worth a try:

 

- Make a backup of your $SIS_HOME\groups\master.config file

- Edit your $SIS_HOME\groups\master.config file and change _serverReadRefresh=60000 to a higher value

- Restart Sitescope and test again

 

 

If that had no effect, either restore your master.config file and repeat the above for line _processPoolKillTimeout=60000, or change this line in addition to the previous change you made.

 

 

Hope this helps.

Occasional Advisor
NanNan_2
Posts: 14
Registered: ‎05-05-2010
Message 3 of 6 (392 Views)

Re: how to extend timeout value for executing remote command on script monitor in sitescope

Hi dcsbeemer,

 

The both parameters don't work.

 

anyway, thanks.

 

 

 

Occasional Advisor
NanNan_2
Posts: 14
Registered: ‎05-05-2010
Message 4 of 6 (378 Views)

Re: how to extend timeout value for executing remote command on script monitor in sitescope

Finnaly , _UNIXSSHTimeoutSeconds works on this issue with Help of HP support.

 

Br, Charlotte

Established Member
Imed2012
Posts: 2
Registered: ‎06-01-2012
Message 5 of 6 (30 Views)

Re: how to extend timeout value for executing remote command on script monitor in sitescope

Finally you are modified this value _processPoolKillTimeout to 60000 ?

Or what are doing exactly because i have the some issue

HP Expert
kenneth.gonzalez
Posts: 1,769
Registered: ‎04-28-2011
Message 6 of 6 (19 Views)

Re: how to extend timeout value for executing remote command on script monitor in sitescope

This _processPoolKillTimeout  is for perfex process pool, nothing to do with Unix scripts

Kenneth Gonzalez
HP Support

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.

If you haven’t tried it yet, come and join us in our entitled forums at Support Customer Forums
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.