I am using Net::SSH::Perl module in a CGI script to connect to list of hosts and check for few processes and display the status on the webpage.
But while connecting to one of the host in the list which is down then the script is not exited and not checked for the other host. Getting the following error on exit:Is there any way to execute the script even if connection to one of the host is not established (i.e instead of script getting exited in middle it should process other hosts and show the status of host as down)Can't connect to abc, port 22: No route to host at /usr/lib/perl5/site +_perl/5.8.8/Net/SSH/Perl.pm line 205
In reply to Help on Net::SSH::Perl module by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |