Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

How to automate telent verification of multiple host from command prompts

by Anonymous Monk
on Oct 13, 2014 at 14:55 UTC ( #1103634=perlquestion: print w/replies, xml ) Need Help??

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks,
Till up to now i am using manual command to verify the connetvity of hosts using telenet by below command
[usename@servername:/tmp]telnet servername xxxx(port)
after running the above command i use to see the message as connected to server from the output console,once after that i use to type 'ctrl + ]' and telent> q to exit from the telnet session.As this methos is helpful for verifying connectivity for few host. As i need to verify it for 3000 host, it is very tedious task to do it manually for each and it is very time consuming.
Dear monks could you please help me how to automate this.
  • Comment on How to automate telent verification of multiple host from command prompts
  • Download Code

Replies are listed 'Best First'.
Re: How to automate telnet verification of multiple host from command prompts
by hippo (Chancellor) on Oct 13, 2014 at 16:13 UTC

    You could roll your own, but it is probably the case that Nmap::Scanner has all you need.

Re: How to automate telnet verification of multiple host from command prompts
by TomDLux (Vicar) on Oct 14, 2014 at 11:08 UTC

    Assuming your company didn't provide the actual hardware to the co-location supplier, ask the colocation supplier whether there is IPMI available on the servers, or other preferred ways to monitor proper functionality.

    As Occam said: Entia non sunt multiplicanda praeter necessitatem.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1103634]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2020-10-30 02:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (277 votes). Check out past polls.

    Notices?