Re: Problems with "show tech" using the Net::Telnet Module

2010-04-25 Thread Uri Guttman
> "A" == Asterix writes: A> Instead of this printf OUTPUT_FILE "@output\n\n"; A> I've used print OUTPUT_FILE "@output\n\n"; that would not make any difference in buffering or anything. the second is better in that you don't use printf's formatting there. when i see lots o

Re: Problems with "show tech" using the Net::Telnet Module

2010-04-25 Thread Asterix
On 20 Apr, 12:25, t.baetz...@bringe.com (Thomas Bätzler) wrote: > Asterix asked: > > > I've made a little script to capture the output of networking > > devices. > > Everything works fine, until I use the "show tech" command in an Cisco > > device. > > Have you considered using the cmd() method of

Re: Problems with "show tech" using the Net::Telnet Module

2010-04-25 Thread Asterix
On 20 Apr, 12:25, t.baetz...@bringe.com (Thomas Bätzler) wrote: > Asterix asked: > > > I've made a little script to capture the output of networking > > devices. > > Everything works fine, until I use the "show tech" command in an Cisco > > device. > > Have you considered using the cmd() method of

AW: Problems with "show tech" using the Net::Telnet Module

2010-04-20 Thread Thomas Bätzler
Asterix asked: > I've made a little script to capture the output of networking > devices. > Everything works fine, until I use the "show tech" command in an Cisco > device. Have you considered using the cmd() method of Net::Telnet? It has the option to individually set a reply timeout for each c

Problems with "show tech" using the Net::Telnet Module

2010-04-20 Thread Asterix
I've made a little script to capture the output of networking devices. Everything works fine, until I use the "show tech" command in an Cisco device. The script does not save anything form the "show tech", but I can see that the TELNET Session gets back some output. But I can't figure out how to sa

Help with Net::Telnet module

2001-08-03 Thread S. Johnson
I am looking for some help debugging a problem with the Net::Telnet module written by Jay Rogers. Here's the subroutine I am having problems with: sub login { $errmode = 'return'; $hostaddress = 'xxx.xxx.xxx.xxx'; $prompt = '/Sheldon_NS16>/';

RE: Help with Net::Telnet module

2001-08-02 Thread Bob Showalter
> -Original Message- > From: S. Johnson [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 02, 2001 5:05 PM > To: [EMAIL PROTECTED] > Subject: Help with Net::Telnet module > > > I am looking for some help debugging a problem with the > Net::Telnet mod

Net-Telnet Module

2001-07-02 Thread Brian Krause
Hello: I am in the process of setting up a Solaris 8 box that will monitor 4 different systems for my company. I want to make it idiot proof in that if it ever gets rebooted, I want it to automatically xterm back into the 4 boxes that it is monitoring. I have sucessfully created a script that w