gepebril69 has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I have created a program to check processes on remote Linux based machines. Now and than one of the machines seems to hang. When I ping it it sends good responses. When I do the following
$ssh = Net::SSH::Perl->new($hostname);the Perl scripts hangs....... So before the actual login attempt. How can I prevent this? Or create something that detects this state, so I could restart that machine by a remote power switch..
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Net::SSH::Perl hanging on creating object
by salva (Canon) on Jun 08, 2011 at 20:55 UTC | |
by gepebril69 (Scribe) on Jun 09, 2011 at 11:16 UTC | |
|
Re: Net::SSH::Perl hanging on creating object
by Perlbotics (Archbishop) on Jun 08, 2011 at 20:04 UTC | |
|
Re: Net::SSH::Perl hanging on creating object
by rgcosma (Beadle) on Jun 08, 2011 at 20:27 UTC | |
by i5513 (Pilgrim) on Jun 09, 2011 at 17:25 UTC | |
|
Re: Net::SSH::Perl hanging on creating object
by Khen1950fx (Canon) on Jun 09, 2011 at 02:34 UTC | |
by salva (Canon) on Jun 09, 2011 at 08:44 UTC |