We don't bite newbies here... much | |
PerlMonks |
Testing for port connectivityby Anonymous Monk |
on Sep 04, 2006 at 12:08 UTC ( [id://571066]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to cook up something to check the availability of the following ports on a list of hosts: 22 13724 1556 30031 30032 13720 13782 I want to run through a list and check that all of the IP addresses list can be reached via IP on all of the ports listed above. The script needs to run all the way through whether an individual command passes or fails and needs to report something like: Hostname 22 - yes 13724 - yes 1556 - yes 30031 - no 30032 - yes I know I can use IO::Socket::PortState But I want it to run thru a list and jump to different machines like so
Back to
Seekers of Perl Wisdom
|
|