girishatreya2005 has asked for the wisdom of the Perl Monks concerning the following question:
Hello wise ones,
Using rsh I'm bombarding a remote machine with a lot of commands.
Using the Net::Telnet library I'm telnetting into the same remote machine, the intention being to monitor the machine's health.I would want the telnet object to capture the messages printed on the machine due to the commands executed from rsh . Also if the system goes down , I would want the telnet object to report the failure before it gets terminated by the system .
I tried using the get()/ getlines() functions to read the command outputs on the machine. But these functions do the reads only if I execute the commands through telnet and not through rsh. Is there any work around for this ?
Looking forward to gain some wisdom Thanks , Girish HV
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Monitoring a remote machine using Net::Telnet
by sierpinski (Chaplain) on Jul 14, 2010 at 12:40 UTC |